diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-12 00:43:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-12 00:43:43 +0100 |
commit | 965bf8becf63a12169cd964973e3a56fd96e21fe (patch) | |
tree | 5c9459da5196712c9153304804a1b44510b6e00b /package/squid/patches/patch-include_squid_types_h | |
parent | 070cac9d32fa7a0f7f4d52eddec901d248cdfae3 (diff) |
a bunch of FreeBSD compatibility patches
Diffstat (limited to 'package/squid/patches/patch-include_squid_types_h')
-rw-r--r-- | package/squid/patches/patch-include_squid_types_h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/squid/patches/patch-include_squid_types_h b/package/squid/patches/patch-include_squid_types_h new file mode 100644 index 000000000..538c1da5f --- /dev/null +++ b/package/squid/patches/patch-include_squid_types_h @@ -0,0 +1,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 |