Skip to content

Commit

Permalink
Fix compile break when SIGPIPE is not defined
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363029 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trawick committed Jul 18, 2012
1 parent 0582dfb commit 1f46088
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support/firehose.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,9 @@ int main(int argc, const char * const argv[])
return 1;
}

#ifdef SIGPIPE
apr_signal_block(SIGPIPE);
#endif

file = apr_pcalloc(pool, sizeof(file_rec));
apr_file_open_stderr(&file->file_err, pool);
Expand Down

0 comments on commit 1f46088

Please sign in to comment.