macvlan: include net/ethernet.h instead of netinet/ether.h (more portable)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Oct 2013 14:08:01 +0000 (16:08 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Oct 2013 14:08:01 +0000 (16:08 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
macvlan.c

index bf81340..f42f3e5 100644 (file)
--- a/macvlan.c
+++ b/macvlan.c
@@ -17,7 +17,7 @@
 #include <stdio.h>
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
 #include <assert.h>
 #include <errno.h>
-#include <netinet/ether.h>
+#include <net/ethernet.h>
 
 #include "netifd.h"
 #include "device.h"
 
 #include "netifd.h"
 #include "device.h"