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 bf813407726bb3bf48b3886b9181f4633bcab79c..f42f3e5a27dbfc1f329580b9d26bdc0cfd0b8c6e 100644 (file)
--- a/macvlan.c
+++ b/macvlan.c
@@ -17,7 +17,7 @@
 #include <stdio.h>
 #include <assert.h>
 #include <errno.h>
-#include <netinet/ether.h>
+#include <net/ethernet.h>
 
 #include "netifd.h"
 #include "device.h"