httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r708814 - /httpd/httpd/trunk/server/core.c
Date Wed, 29 Oct 2008 08:00:51 GMT
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)



Mime
View raw message