]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
kFreeBSD does not have linux headers.
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 9 Jun 2010 12:37:38 +0000 (00:37 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 9 Jun 2010 12:37:38 +0000 (00:37 +1200)
compat/fdsetsize.h
configure.in

index a93c4e344fe76c225f237cc1c28634c892a0ddca..e48b9b6310f18d97c35fbc2c847af5b3223c3b67 100644 (file)
@@ -40,7 +40,9 @@
 #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
 #if SQUID_MAXFD > DEFAULT_FD_SETSIZE
 #include <bits/types.h>
+#if HAVE_LINUX_POSIX_TYPES_H
 #include <linux/posix_types.h>
+#endif
 #undef __FD_SETSIZE
 #define __FD_SETSIZE SQUID_MAXFD
 #endif
index c2839573cd19c69930d85062b8a98345b2359c2b..9b72d8c7ecc253e13a00e415423b64280340a3e5 100644 (file)
@@ -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 \