]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
kFreeBSD does not have linux headers. Wrap properly.
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Jun 2010 10:36:06 +0000 (22:36 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Jun 2010 10:36:06 +0000 (22:36 +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 454614647527d2ca7c0b5c6faa770dbfc3f8d0a3..ff83dff024bd24621579e27cc803bca7d33e17d7 100644 (file)
@@ -2189,6 +2189,7 @@ AC_CHECK_HEADERS( \
        libc.h \
        libgen.h \
        limits.h \
+       linux/posix_types.h \
        linux/types.h \
        machine/byte_swap.h \
        malloc.h \