summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2017-10-24 03:20:56 +0000
committerChristophe Jaillet <jailletc36@apache.org>2017-10-24 03:20:56 +0000
commiteb0229b1a57407e68add07e8fdeea42e4e096fed (patch)
treece1d2a920288f57f9bf400a59f3f6679e08e15bb /os
parent3d0e7ed0024fa3469321aa78c5a9dea1abc8d0a4 (diff)
downloadhttpd-eb0229b1a57407e68add07e8fdeea42e4e096fed.tar.gz
Fix compilation failure :
unixd.c: In function ‘ap_unixd_mpm_set_signals’: unixd.c:579:5: error: implicit declaration of function ‘apr_signal’; did you mean ‘strsignal’? [-Werror=implicit-function-declaration] apr_signal(SIGPIPE, SIG_IGN); ^~~~~~~~~~ strsignal Not sure where it comes from, maybe related to r1812301. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1813116 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/unix/unixd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index 7f71d1a642..43645f09da 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -24,6 +24,7 @@
#include "os.h"
#include "ap_mpm.h"
#include "apr_thread_proc.h"
+#include "apr_signal.h"
#include "apr_strings.h"
#include "apr_portable.h"
#ifdef HAVE_PWD_H
@@ -180,7 +181,7 @@ static apr_status_t ap_unix_create_privileged_process(
** we force everything to be APR_PROGRAM, and never
** APR_SHELLCMD
*/
- if(apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
+ if (apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
return APR_EGENERAL;
}