From: Paul Querna Date: Wed, 29 Oct 2008 08:00:50 +0000 (+0000) Subject: * server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by X-Git-Tag: 2.3.0~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=485ed11102dbc5dbbd5bd933b12ef67d99ec2008;p=thirdparty%2Fapache%2Fhttpd.git * server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by including unixd.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708814 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 955a8fe76ed..a1c7c6dd654 100644 --- a/server/core.c +++ b/server/core.c @@ -51,6 +51,10 @@ #include "mod_so.h" /* for ap_find_loaded_module_symbol */ +#if defined(RLIMIT_CPU) || defined (RLIMIT_DATA) || defined (RLIMIT_VMEM) || defined(RLIMIT_AS) || defined (RLIMIT_NPROC) +#include "unixd.h" +#endif + /* LimitRequestBody handling */ #define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1) #define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0)