summaryrefslogtreecommitdiffstats
path: root/mod_dnssd-0.6-httpd24.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
commit1c3646a2a654880da48246a4b6c37b87b50cf4af (patch)
tree2e2d2cf188d2ea8d505aa7c5bfdf4fe7b7c508d2 /mod_dnssd-0.6-httpd24.patch
reorg repoHEADmaster
Diffstat (limited to 'mod_dnssd-0.6-httpd24.patch')
-rw-r--r--mod_dnssd-0.6-httpd24.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/mod_dnssd-0.6-httpd24.patch b/mod_dnssd-0.6-httpd24.patch
new file mode 100644
index 0000000..6eb5058
--- /dev/null
+++ b/mod_dnssd-0.6-httpd24.patch
@@ -0,0 +1,24 @@
+--- mod_dnssd-0.6/src/mod_dnssd.c.httpd24
++++ mod_dnssd-0.6/src/mod_dnssd.c
+@@ -26,6 +26,9 @@
+ #include <unixd.h>
+ #include <apr_signal.h>
+ #include <mpm_common.h>
++#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
++#include <mod_unixd.h>
++#endif
+
+ #include <unistd.h>
+
+@@ -576,7 +579,11 @@ static void child_process(apr_pool_t *p,
+
+ ap_assert(d);
+
++#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
++ ap_unixd_setup_child();
++#else
+ unixd_setup_child();
++#endif
+
+ if (pipe(sigterm_pipe_fds) < 0) {
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));