From: osdl.net!shemminger Date: Thu, 10 Feb 2005 18:31:18 +0000 (+0000) Subject: Workaround for kernel/user htons confusion. X-Git-Tag: v2_6_11-050310~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd79ac48dfcfe1b1b0e2e7f8e96aaaebf11f1814;p=thirdparty%2Fiproute2.git Workaround for kernel/user htons confusion. (Logical change 1.144) --- diff --git a/ip/iptunnel.c b/ip/iptunnel.c index d8bed0cf5..2da3df17a 100644 --- a/ip/iptunnel.c +++ b/ip/iptunnel.c @@ -29,6 +29,11 @@ #include #include #include + +#ifndef __constant_htons +#define __constant_htons(x) htons(x) +#endif + #include #include "rt_names.h"