You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/10/29 09:00:51 UTC

svn commit: r708814 - /httpd/httpd/trunk/server/core.c

Author: pquerna
Date: Wed Oct 29 01:00:50 2008
New Revision: 708814

URL: http://svn.apache.org/viewvc?rev=708814&view=rev
Log:
* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
    including unixd.h.

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=708814&r1=708813&r2=708814&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Wed Oct 29 01:00:50 2008
@@ -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)