]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Compat: IPPROTO can;t be defined early for Linux.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Mar 2010 10:09:56 +0000 (23:09 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Mar 2010 10:09:56 +0000 (23:09 +1300)
Removed them again to uncover which OS actually need them. Add back as
needed to those specific OS compat headers.

compat/compat_shared.h

index 92ac7b116a359f13bd57ec1fbaa5d601dc24c79f..3730b8cd838e02874f5f3321085ffc5cec34755e 100644 (file)
@@ -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 */