]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
authorPaul Querna <pquerna@apache.org>
Wed, 29 Oct 2008 08:00:50 +0000 (08:00 +0000)
committerPaul Querna <pquerna@apache.org>
Wed, 29 Oct 2008 08:00:50 +0000 (08:00 +0000)
    including unixd.h.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708814 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 955a8fe76edac0b6078ef292fad7805bf3d8ca26..a1c7c6dd6542a690ed65575565bb47121a4342b3 100644 (file)
 
 #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)