diff options
author | Jeff Trawick <trawick@apache.org> | 2012-07-18 17:58:11 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2012-07-18 17:58:11 +0000 |
commit | 2d6e6d1bdda6f2174a83e619395fc58d285fc248 (patch) | |
tree | 8d903746047ab0733ea8feb4645ce0ca11828675 /support/firehose.c | |
parent | eb2a059b3ad3727e95ede3d17181250609414442 (diff) | |
download | httpd-2d6e6d1bdda6f2174a83e619395fc58d285fc248.tar.gz |
Fix compile break when SIGPIPE is not defined
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363029 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/firehose.c')
-rw-r--r-- | support/firehose.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/firehose.c b/support/firehose.c index b59e4188a7..a8325c5792 100644 --- a/support/firehose.c +++ b/support/firehose.c @@ -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); |