diff options
author | Robby Workman <rworkman@slackware.com> | 2013-02-08 14:14:08 -0600 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2017-11-26 09:49:30 -0800 |
commit | 662135a043ac10e425b3e99a4e566bca3929b09d (patch) | |
tree | d1aeb1ac349f58298246e27d41595f0ebef41384 | |
parent | d3b483d55e2e20c313d6c88784a03360f950bae2 (diff) |
mod_dnssd.c: Use ap_unixd_setup_child
This fixeds an undefined reference to unixd_setup_child in the
compiled module. This looks to have changed in httpd-2.3.2 dev:
20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child().
Gbp-Pq: Name port-for-apache2.4.patch
-rw-r--r-- | src/mod_dnssd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c index 6179276..3363701 100644 --- 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)); |