blob: c6b748f2967c274fa83b6cf9b18efc9366f68ab5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- src/mod_dnssd.c.orig 2009-01-28 02:24:00 UTC
+++ src/mod_dnssd.c
@@ -24,9 +24,16 @@
#include <ap_config.h>
#include <apr_strings.h>
#include <unixd.h>
+#if MODULE_MAGIC_COOKIE >= 0x41503234UL /* "AP24" */
+#include <mod_unixd.h>
+#endif
#include <apr_signal.h>
#include <mpm_common.h>
+#if MODULE_MAGIC_NUMBER_MAJOR >= 20090130
+#define unixd_setup_child ap_unixd_setup_child
+#endif
+
#include <unistd.h>
#include <avahi-common/simple-watch.h>
|