milis/talimatname/genel/mod-dnssd/fix_undefined_reference.patch

22 lines
614 B
Diff

diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c
index 6179276..3363701 100644 (file)
--- a/src/mod_dnssd.c
+++ b/src/mod_dnssd.c
@@ -24,6 +24,7 @@
#include <ap_config.h>
#include <apr_strings.h>
#include <unixd.h>
+#include <mod_unixd.h>
#include <apr_signal.h>
#include <mpm_common.h>
@@ -576,7 +577,7 @@ static void child_process(apr_pool_t *p, server_rec *server, struct global_confi
ap_assert(d);
- unixd_setup_child();
+ ap_unixd_setup_child();
if (pipe(sigterm_pipe_fds) < 0) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));