summaryrefslogtreecommitdiff
path: root/include/ap_config.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-06-08 20:21:35 +0000
committerRyan Bloom <rbb@apache.org>2000-06-08 20:21:35 +0000
commite629f47a138b4eac38a0cfa4c47ae9a2c894622a (patch)
tree400ae7c6c4ed2d560395a1d579c09cb3b83a5ef8 /include/ap_config.h
parent9b90f11c5f035bf557fb4e60110dec11ebd769de (diff)
downloadhttpd-e629f47a138b4eac38a0cfa4c47ae9a2c894622a.tar.gz
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
Diffstat (limited to 'include/ap_config.h')
-rw-r--r--include/ap_config.h5
1 files changed, 5 insertions, 0 deletions
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 <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