From: Amos Jeffries Date: Wed, 9 Jun 2010 12:37:38 +0000 (+1200) Subject: kFreeBSD does not have linux headers. X-Git-Tag: SQUID_3_2_0_1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f12e3031f4b5076935723df301a05d55c28609;p=thirdparty%2Fsquid.git kFreeBSD does not have linux headers. --- diff --git a/compat/fdsetsize.h b/compat/fdsetsize.h index a93c4e344f..e48b9b6310 100644 --- a/compat/fdsetsize.h +++ b/compat/fdsetsize.h @@ -40,7 +40,9 @@ #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) #if SQUID_MAXFD > DEFAULT_FD_SETSIZE #include +#if HAVE_LINUX_POSIX_TYPES_H #include +#endif #undef __FD_SETSIZE #define __FD_SETSIZE SQUID_MAXFD #endif diff --git a/configure.in b/configure.in index c2839573cd..9b72d8c7ec 100644 --- a/configure.in +++ b/configure.in @@ -2181,6 +2181,7 @@ AC_CHECK_HEADERS( \ ipl.h \ libc.h \ limits.h \ + linux/posix_types.h \ linux/types.h \ machine/byte_swap.h \ malloc.h \