]> granicus.if.org Git - apache/commitdiff
Include a definition of rlim_t if the platform doesn't have it natively.
authorRyan Bloom <rbb@apache.org>
Thu, 8 Jun 2000 20:21:35 +0000 (20:21 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 8 Jun 2000 20:21:35 +0000 (20:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85474 13f79535-47bb-0310-9956-ffa450edef68

include/ap_config.h

index 2f0a8a3cac0d7f493d6acc2a18e01f8ed2982869..234aa99839bfae80de457f3b07cabbc4a8c1dd67 100644 (file)
@@ -56,6 +56,7 @@
 #define AP_AC_CONFIG_H
 
 #include "ap_mmn.h"            /* MODULE_MAGIC_NUMBER_ */
+#include <resource.h>          /* 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