]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Workaround for kernel/user htons confusion.
authorosdl.net!shemminger <osdl.net!shemminger>
Thu, 10 Feb 2005 18:31:18 +0000 (18:31 +0000)
committerosdl.net!shemminger <osdl.net!shemminger>
Thu, 10 Feb 2005 18:31:18 +0000 (18:31 +0000)
(Logical change 1.144)

ip/iptunnel.c

index d8bed0cf56f72e22fd0b1f66f221cb31d6116631..2da3df17a269455cfe96091642ccee9d47886519 100644 (file)
 #include <linux/if.h>
 #include <linux/if_arp.h>
 #include <linux/ip.h>
+
+#ifndef __constant_htons
+#define __constant_htons(x)  htons(x)
+#endif
+
 #include <linux/if_tunnel.h>
 
 #include "rt_names.h"