Do not include net/ethernet.h and linux/if_tunnel.h
authorSimon Horman <horms@verge.net.au>
Thu, 22 Sep 2011 12:24:13 +0000 (21:24 +0900)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Sep 2011 16:03:02 +0000 (09:03 -0700)
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

index 6541b1e..85fcdf9 100644 (file)
@@ -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>