From e629f47a138b4eac38a0cfa4c47ae9a2c894622a Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Thu, 8 Jun 2000 20:21:35 +0000 Subject: [PATCH] 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 --- include/ap_config.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.40.0