From dd79ac48dfcfe1b1b0e2e7f8e96aaaebf11f1814 Mon Sep 17 00:00:00 2001 From: "osdl.net!shemminger" Date: Thu, 10 Feb 2005 18:31:18 +0000 Subject: [PATCH] Workaround for kernel/user htons confusion. (Logical change 1.144) --- ip/iptunnel.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ip/iptunnel.c b/ip/iptunnel.c index d8bed0cf..2da3df17 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"