]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
The proper type for fd_mask may not be detected by configure if sys/select.h
authorhno <>
Sun, 1 Jun 2003 15:01:41 +0000 (15:01 +0000)
committerhno <>
Sun, 1 Jun 2003 15:01:41 +0000 (15:01 +0000)
is not listed in SQUID_DEFAULT_INCLUDES. (POSIX)

acinclude.m4
include/squid_types.h

index 2fe84d3c40b9efc5d8c1e28c9dce2948c75c26f2..142a116948f310b8e2aeb336233f5c3a0defb98d 100644 (file)
@@ -19,6 +19,9 @@ AC_DEFUN(SQUID_DEFAULT_INCLUDES,[[
 #if HAVE_SYS_BITYPES_H
 #include <sys/bitypes.h>
 #endif
+#if HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 ]])     
 
 dnl and this is for AC_CHECK_SIZEOF
index 7dd34f9ecb692c88d81fd24c3393966596a7525b..927e3f2199c29c1261fb86446329c6c9ce377c99 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: squid_types.h,v 1.7 2003/01/23 00:36:48 robertc Exp $
+ * $Id: squid_types.h,v 1.8 2003/06/01 09:01:41 hno Exp $
  *
  * * * * * * * * Legal stuff * * * * * * *
  *
@@ -70,5 +70,8 @@
 #if HAVE_SYS_BITYPES_H
 #include <sys/bitypes.h>
 #endif
+#if HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 
 #endif /* SQUID_TYPES_H */