git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85832
13f79535-47bb-0310-9956-
ffa450edef68
#include "apr_network_io.h"
#include "http_config.h"
+#include "mpm.h"
typedef struct ap_listen_rec ap_listen_rec;
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);
#include "http_config.h"
#include "ap_listen.h"
#include "http_log.h"
+#include "mpm.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif
ap_listeners = new;
}
-#ifndef WIN32
+#if !defined(WIN32) && !defined(PREFORK_MPM)
static
#endif
int ap_listen_open(process_rec *process, unsigned port)
return num_open ? 0 : -1;
}
-#ifndef WIN32
+#if !defined(WIN32) && !defined(PREFORK_MPM)
int ap_setup_listeners(server_rec *s)
{
ap_listen_rec *lr;