The proper type for fd_mask may not be detected by configure if sys/select.h 
is not listed in SQUID_DEFAULT_INCLUDES. Can you please review the attached 
patch?

Thanks
Gerard
diff -uNr squid-3.0.DEVEL-20030528/acinclude.m4 squid-3.0.DEVEL-20030528.new/acinclude.m4
--- squid-3.0.DEVEL-20030528/acinclude.m4	Sun Oct 13 13:01:40 2002
+++ squid-3.0.DEVEL-20030528.new/acinclude.m4	Sat May 31 11:26:31 2003
@@ -19,6 +19,9 @@
 #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
diff -uNr squid-3.0.DEVEL-20030528/include/squid_types.h squid-3.0.DEVEL-20030528.new/include/squid_types.h
--- squid-3.0.DEVEL-20030528/include/squid_types.h	Thu Jan 23 10:36:48 2003
+++ squid-3.0.DEVEL-20030528.new/include/squid_types.h	Sat May 31 11:27:07 2003
@@ -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 */

Reply via email to