]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
linux/types.h may also provide types
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 10 Aug 2009 11:25:23 +0000 (23:25 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 10 Aug 2009 11:25:23 +0000 (23:25 +1200)
configure.in
include/squid_types.h

index ade54a2148ca82cf61c55d0b41ada51d09e8cbd7..0faa96491714d137d9463609484645f3e406802b 100644 (file)
@@ -2103,6 +2103,7 @@ AC_CHECK_HEADERS( \
        ipl.h \
        libc.h \
        limits.h \
+       linux/types.h \
        machine/byte_swap.h \
        malloc.h \
        math.h \
index e7d92c76f46b510cd584df03a0cf2288f176688d..0b4a60529e8ffb5a3eff8df756e2572d434574b2 100644 (file)
@@ -60,6 +60,9 @@
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#if HAVE_LINUX_TYPES_H
+#include <linux/types.h>
+#endif
 #if STDC_HEADERS
 #include <stdlib.h>
 #include <stddef.h>