]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - configure.in
test for struct rusage needs to include <sys/time.h
[thirdparty/squid.git] / configure.in
index 17c4e221c673cd687aa212baa38ef8e7a1f79ad1..c8066c810392f3d19f04bc63caa81482740d6479 100644 (file)
@@ -3,13 +3,13 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
 dnl
-dnl  $Id: configure.in,v 1.91 1998/01/02 21:35:13 wessels Exp $
+dnl  $Id: configure.in,v 1.92 1998/01/02 21:49:41 wessels Exp $
 dnl
 dnl
 dnl
 AC_INIT(src/main.c)
 AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.91 $)dnl
+AC_REVISION($Revision: 1.92 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AC_CONFIG_AUX_DIR(aux)
 
@@ -221,6 +221,9 @@ fi
 
 AC_CACHE_CHECK(for struct rusage,ac_cv_have_struct_rusage, [
   AC_TRY_COMPILE([
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #if HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif],