From: hno <> Date: Sun, 1 Jun 2003 15:01:41 +0000 (+0000) Subject: The proper type for fd_mask may not be detected by configure if sys/select.h X-Git-Tag: SQUID_3_0_PRE1~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eea70fbbc87138354a2ea8051b3c84264da6bfcd;p=thirdparty%2Fsquid.git The proper type for fd_mask may not be detected by configure if sys/select.h is not listed in SQUID_DEFAULT_INCLUDES. (POSIX) --- diff --git a/acinclude.m4 b/acinclude.m4 index 2fe84d3c40..142a116948 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -19,6 +19,9 @@ AC_DEFUN(SQUID_DEFAULT_INCLUDES,[[ #if HAVE_SYS_BITYPES_H #include #endif +#if HAVE_SYS_SELECT_H +#include +#endif ]]) dnl and this is for AC_CHECK_SIZEOF diff --git a/include/squid_types.h b/include/squid_types.h index 7dd34f9ecb..927e3f2199 100644 --- a/include/squid_types.h +++ b/include/squid_types.h @@ -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 #endif +#if HAVE_SYS_SELECT_H +#include +#endif #endif /* SQUID_TYPES_H */