From: Ryan Bloom Date: Thu, 8 Jun 2000 20:21:35 +0000 (+0000) Subject: Include a definition of rlim_t if the platform doesn't have it natively. X-Git-Tag: APACHE_2_0_ALPHA_5~407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e629f47a138b4eac38a0cfa4c47ae9a2c894622a;p=apache Include a definition of rlim_t if the platform doesn't have it natively. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85474 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_config.h b/include/ap_config.h index 2f0a8a3cac..234aa99839 100644 --- a/include/ap_config.h +++ b/include/ap_config.h @@ -56,6 +56,7 @@ #define AP_AC_CONFIG_H #include "ap_mmn.h" /* MODULE_MAGIC_NUMBER_ */ +#include /* rlim_t */ /* Implemented flags for dynamic library bindings. * @@ -245,6 +246,10 @@ extern int strncasecmp(const char *, const char *, unsigned); #undef USE_MMAP_FILES #endif +#ifndef rlim_t +typedef unsigned long rlim_t; +#endif + #if defined(CHARSET_EBCDIC) && !defined(APACHE_XLATE) #define APACHE_XLATE #endif