From: Amos Jeffries Date: Thu, 25 Mar 2010 10:09:56 +0000 (+1300) Subject: Compat: IPPROTO can;t be defined early for Linux. X-Git-Tag: SQUID_3_2_0_1~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d08a1793da171a5075ebde910b0a374c79afa97;p=thirdparty%2Fsquid.git Compat: IPPROTO can;t be defined early for Linux. Removed them again to uncover which OS actually need them. Add back as needed to those specific OS compat headers. --- diff --git a/compat/compat_shared.h b/compat/compat_shared.h index 92ac7b116a..3730b8cd83 100644 --- a/compat/compat_shared.h +++ b/compat/compat_shared.h @@ -195,14 +195,4 @@ extern "C" { #endif -/* Apparently the IPPROTO_ are not always defined either... */ -/* TODO: find out what OS require these and define specifically for them. */ -#ifndef IPPROTO_UDP -#define IPPROTO_UDP 0 -#endif -#ifndef IPPROTO_TCP -#define IPPROTO_TCP 0 -#endif - - #endif /* _SQUID_COMPAT_SHARED_H */