]> granicus.if.org Git - apache/commitdiff
<sys/resource.h> requires <sys/time.h> first on some systems
authorJeff Trawick <trawick@apache.org>
Mon, 27 Nov 2000 19:11:40 +0000 (19:11 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 27 Nov 2000 19:11:40 +0000 (19:11 +0000)
(e.g., FreeBSD 3.4)

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

os/unix/unixd.h

index 9bf16f8154744e542d29c97a56bc0ed6bbdb604f..205efcaf74cbdad037365c769cbbf6c9802342e8 100644 (file)
@@ -61,6 +61,9 @@
 
 #include "httpd.h"
 #include "http_config.h"
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif