From: Jeff Trawick Date: Fri, 8 Apr 2011 19:57:24 +0000 (+0000) Subject: include to ensure that the exit() prototype has been X-Git-Tag: 2.3.12~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca353e4ed1743d6fe91c72ef5a2a94593ae649a2;p=thirdparty%2Fapache%2Fhttpd.git include 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 --- diff --git a/os/win32/os.h b/os/win32/os.h index 3ec386c55ba..a01a22213ed 100644 --- a/os/win32/os.h +++ b/os/win32/os.h @@ -53,6 +53,7 @@ #define CASE_BLIND_FILESYSTEM #include +#include /* 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; \