]> granicus.if.org Git - apache/commitdiff
Fix the check for rlim_t correctly. I wish I had known that we had
authorRyan Bloom <rbb@apache.org>
Thu, 8 Jun 2000 21:32:13 +0000 (21:32 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 8 Jun 2000 21:32:13 +0000 (21:32 +0000)
created an rlim_t check in acinclude.m4.  :-)
Submitted by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85476 13f79535-47bb-0310-9956-ffa450edef68

configure.in
include/ap_config.h

index 2be2f09286d939f5ca698504660bca35d419ac2a..665a2920b6887e2b0ea26452d44678af821f5564 100644 (file)
@@ -217,6 +217,8 @@ bindir=$bindir
 progname=$progname
 ])
 
+AC_TYPE_RLIM_T
+
 perlbin=`./helpers/PrintPath perl`
 AC_SUBST(perlbin)
 
index 3fa206e340957648b4de65e0da15b52eb2c4aa67..2f0a8a3cac0d7f493d6acc2a18e01f8ed2982869 100644 (file)
@@ -56,7 +56,6 @@
 #define AP_AC_CONFIG_H
 
 #include "ap_mmn.h"            /* MODULE_MAGIC_NUMBER_ */
-#include <sys/resource.h>              /* rlim_t */
 
 /* Implemented flags for dynamic library bindings.
  *
@@ -246,10 +245,6 @@ 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