From: Amos Jeffries Date: Mon, 10 Aug 2009 11:25:23 +0000 (+1200) Subject: linux/types.h may also provide types X-Git-Tag: SQUID_3_2_0_1~802 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2422105ad183688411864cefbc0a1817e4de966;p=thirdparty%2Fsquid.git linux/types.h may also provide types --- diff --git a/configure.in b/configure.in index ade54a2148..0faa964917 100644 --- a/configure.in +++ b/configure.in @@ -2103,6 +2103,7 @@ AC_CHECK_HEADERS( \ ipl.h \ libc.h \ limits.h \ + linux/types.h \ machine/byte_swap.h \ malloc.h \ math.h \ diff --git a/include/squid_types.h b/include/squid_types.h index e7d92c76f4..0b4a60529e 100644 --- a/include/squid_types.h +++ b/include/squid_types.h @@ -60,6 +60,9 @@ #if HAVE_SYS_TYPES_H #include #endif +#if HAVE_LINUX_TYPES_H +#include +#endif #if STDC_HEADERS #include #include