]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix compile break when SIGPIPE is not defined
authorJeff Trawick <trawick@apache.org>
Wed, 18 Jul 2012 17:58:11 +0000 (17:58 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 18 Jul 2012 17:58:11 +0000 (17:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363029 13f79535-47bb-0310-9956-ffa450edef68

support/firehose.c

index b59e4188a70c799f5b81318a648c106951f5f394..a8325c5792c297cf6a5fc27c8254e2dfa458cd53 100644 (file)
@@ -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);