From 2beed14d672e215587247764304387e9b003dc4c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 12 Jun 2010 22:36:06 +1200 Subject: [PATCH] kFreeBSD does not have linux headers. Wrap properly. --- compat/fdsetsize.h | 2 ++ configure.in | 1 + 2 files changed, 3 insertions(+) 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 4546146475..ff83dff024 100644 --- a/configure.in +++ b/configure.in @@ -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 \ -- 2.47.3