]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
include <stdlib.h> to ensure that the exit() prototype has been
authorJeff Trawick <trawick@apache.org>
Fri, 8 Apr 2011 19:57:24 +0000 (19:57 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 8 Apr 2011 19:57:24 +0000 (19:57 +0000)
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

os/win32/os.h

index 3ec386c55baa246702777229eaf11a9346ee01b4..a01a22213ed6e20771773ae6d7b22700fbf526df 100644 (file)
@@ -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; \