diff options
author | Jeff Trawick <trawick@apache.org> | 2000-06-10 12:02:29 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-06-10 12:02:29 +0000 |
commit | 88b6c4ac2b35bbd31df9c18cb774f6b86c10c121 (patch) | |
tree | 727dd09f1bd1552bd33ac5c58871864aa8a64d16 /include/ap_config.h | |
parent | cd6953bbf5c76e5b61a32c1bb5e20845ac8bbc99 (diff) | |
download | httpd-88b6c4ac2b35bbd31df9c18cb774f6b86c10c121.tar.gz |
Get FreeBSD building again with the resource limiting changes (FreeBSD
3.4, at least).
rlim_t is defined in <sys/types.h>, so we usually need that.
Some stuff in <sys/resource.h> needs <sys/time.h> for timeval just to
be able to compile :(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85500 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_config.h')
-rw-r--r-- | include/ap_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ap_config.h b/include/ap_config.h index 2f0a8a3cac..0b7298b8ee 100644 --- a/include/ap_config.h +++ b/include/ap_config.h @@ -120,6 +120,10 @@ extern "C" { #include <sys/time.h> #endif +#ifdef HAVE_SYS_RESOURCE_H +#include <sys/resource.h> +#endif + #ifdef HAVE_NETDB_H #include <netdb.h> #endif |