]> git.pld-linux.org Git - packages/apache-mod_dnssd.git/blob - apache-2.4.patch
- fix apache 2.4 interoparability
[packages/apache-mod_dnssd.git] / apache-2.4.patch
1 --- mod_dnssd-0.6/src/mod_dnssd.c.httpd24
2 +++ mod_dnssd-0.6/src/mod_dnssd.c
3 @@ -26,6 +26,9 @@
4  #include <unixd.h>
5  #include <apr_signal.h>
6  #include <mpm_common.h>
7 +#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
8 +#include <mod_unixd.h>
9 +#endif
10  
11  #include <unistd.h>
12  
13 @@ -576,7 +579,11 @@ static void child_process(apr_pool_t *p,
14  
15      ap_assert(d);
16  
17 +#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
18 +    ap_unixd_setup_child();
19 +#else
20      unixd_setup_child();
21 +#endif
22  
23      if (pipe(sigterm_pipe_fds) < 0) {
24          ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));
This page took 0.072518 seconds and 3 git commands to generate.