summaryrefslogtreecommitdiff
path: root/include/ap_listen.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-07-13 16:05:07 +0000
committerRyan Bloom <rbb@apache.org>2000-07-13 16:05:07 +0000
commitd2c19117546e1724078ed1e00cfa7b85405fc40a (patch)
treef22fbde2d2baeefe324bd43ea82a7c6411e5e72e /include/ap_listen.h
parent97514ef821b5654a1cb17e935f91ff9549cc2290 (diff)
downloadhttpd-d2c19117546e1724078ed1e00cfa7b85405fc40a.tar.gz
Fix the prefork MPM to make it compile and work again out-of-the-box.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85832 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_listen.h')
-rw-r--r--include/ap_listen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ap_listen.h b/include/ap_listen.h
index 729ba5c50b..c5a016871d 100644
--- a/include/ap_listen.h
+++ b/include/ap_listen.h
@@ -57,6 +57,7 @@
#include "apr_network_io.h"
#include "http_config.h"
+#include "mpm.h"
typedef struct ap_listen_rec ap_listen_rec;
struct ap_listen_rec {
@@ -72,7 +73,7 @@ struct ap_listen_rec {
extern ap_listen_rec *ap_listeners;
void ap_listen_pre_config(void);
-#ifndef WIN32
+#if !defined(WIN32) && !defined(PREFORK_MPM)
int ap_setup_listeners(server_rec *s);
#else
int ap_listen_open(process_rec *process, unsigned port);