[ovs-dev] [PATCH 4/5] Do not include net/ethernet.h and linux/if_tunnel.h
Simon Horman
horms at verge.net.au
Thu Sep 22 12:24:13 UTC 2011
net/ethernet.h and linux/if_tunnel.h do not appear to be needed
on lib/netdev-linux.c.
I noticed this while trying to build on the Android NDK r6b (Android API
level 13) as these headers are not present there.
---
lib/netdev-linux.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 6541b1e..85fcdf9 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -37,9 +37,7 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netpacket/packet.h>
-#include <net/ethernet.h>
#include <net/if.h>
-#include <linux/if_tunnel.h>
#include <net/if_arp.h>
#include <net/if_packet.h>
#include <net/route.h>
--
1.7.5.4
More information about the dev
mailing list