summaryrefslogtreecommitdiff
path: root/package/squid/patches/patch-include_squid_types_h
blob: 538c1da5f6f7970c214571505a8ec4e102b7d95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- squid-3.0.STABLE20.orig/include/squid_types.h	2009-10-29 11:05:43.000000000 +0100
+++ squid-3.0.STABLE20/include/squid_types.h	2009-12-11 23:40:46.000000000 +0100
@@ -60,9 +60,11 @@
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#ifndef __FreeBSD__
 #if HAVE_LINUX_TYPES_H
 #include <linux/types.h>
 #endif
+#endif
 #if STDC_HEADERS
 #include <stdlib.h>
 #include <stddef.h>
@@ -70,9 +72,11 @@
 #if HAVE_INTTYPES_H
 #include <inttypes.h>
 #endif
+#ifndef __FreeBSD__
 #if HAVE_SYS_BITYPES_H
 #include <sys/bitypes.h>
 #endif
+#endif
 #if HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif