pkgsrc/www/squid3/patches/patch-compat_compat.h
2015-01-17 10:20:57 +00:00

15 lines
603 B
C

$NetBSD: patch-compat_compat.h,v 1.1 2015/01/17 10:20:58 adam Exp $
Fix building.
--- compat/compat.h.orig 2015-01-17 10:10:23.000000000 +0000
+++ compat/compat.h
@@ -38,7 +38,7 @@
* We must pre-define before doing anything with OS headers so the OS
* do not. Then un-define it before using the IPFilter *_compat.h headers.
*/
-#if IPF_TRANSPARENT && USE_SOLARIS_IPFILTER_MINOR_T_HACK
+#if IPF_TRANSPARENT && defined(USE_SOLARIS_IPFILTER_MINOR_T_HACK)
/* But we only need do this nasty thing for src/ip/Intercept.cc */
#if BUILDING_SQUID_IP_INTERCEPT_CC
#define minor_t solaris_minor_t_fubar