summaryrefslogtreecommitdiffstats
path: root/ip
diff options
context:
space:
mode:
authorosdl.org!shemminger <osdl.org!shemminger>2004-06-02 20:22:08 +0000
committerosdl.org!shemminger <osdl.org!shemminger>2004-06-02 20:22:08 +0000
commit7272ddc775845d96ad1d388ced7ecdbc8612c64e (patch)
tree13d733b39fc86e5347b780365af330665256833a /ip
parentdbd90dc267227deffd54c658e7fb5d3d8667c2cd (diff)
rearrange includes to try and fix build issues.
(Logical change 1.6)
Diffstat (limited to 'ip')
-rw-r--r--ip/iptunnel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ip/iptunnel.c b/ip/iptunnel.c
index 41c262b5..45b904bd 100644
--- a/ip/iptunnel.c
+++ b/ip/iptunnel.c
@@ -23,12 +23,13 @@
#include <syslog.h>
#include <fcntl.h>
#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <sys/ioctl.h>
+#include <asm/byteorder.h>
#include <linux/if.h>
#include <linux/if_arp.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <arpa/inet.h>
+#include <linux/ip.h>
#include <linux/if_tunnel.h>
#include "rt_names.h"