summaryrefslogtreecommitdiff
path: root/os/win32
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-04-08 19:57:24 +0000
committerJeff Trawick <trawick@apache.org>2011-04-08 19:57:24 +0000
commitca353e4ed1743d6fe91c72ef5a2a94593ae649a2 (patch)
tree835eccf89270e9f38c8ea128fcab42e3a9ffd52f /os/win32
parentbdc6c0dde2564afdf90433935baac4b3f0f0ead1 (diff)
downloadhttpd-ca353e4ed1743d6fe91c72ef5a2a94593ae649a2.tar.gz
include <stdlib.h> to ensure that the exit() prototype has been
seen before the exit macro is defined (fixes compile failure on MinGW) axe prototype for absent function set_listeners_noninheritable() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090417 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/win32')
-rw-r--r--os/win32/os.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/win32/os.h b/os/win32/os.h
index 3ec386c55b..a01a22213e 100644
--- a/os/win32/os.h
+++ b/os/win32/os.h
@@ -53,6 +53,7 @@
#define CASE_BLIND_FILESYSTEM
#include <stddef.h>
+#include <stdlib.h> /* for exit() */
#ifdef __cplusplus
extern "C" {
@@ -92,9 +93,6 @@ FARPROC ap_load_dll_func(ap_dlltoken_e fnLib, char* fnName, int ordinal);
PSECURITY_ATTRIBUTES GetNullACL(void);
void CleanNullACL(void *sa);
-int set_listeners_noninheritable(apr_pool_t *p);
-
-
#define AP_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names) \
typedef rettype (calltype *ap_winapi_fpt_##fn) args; \
static ap_winapi_fpt_##fn ap_winapi_pfn_##fn = NULL; \