macvlan: turns out netinet/ether.h is needed on some linux systems
[project/netifd.git] / macvlan.c
index f42f3e5a27dbfc1f329580b9d26bdc0cfd0b8c6e..28567dc876025c953645b6f87f8895b2e1913156 100644 (file)
--- a/macvlan.c
+++ b/macvlan.c
 #include <errno.h>
 #include <net/ethernet.h>
 
+#ifdef linux
+#include <netinet/ether.h>
+#endif
+
 #include "netifd.h"
 #include "device.h"
 #include "interface.h"