summaryrefslogtreecommitdiffhomepage
path: root/macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'macvlan.c')
-rw-r--r--macvlan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/macvlan.c b/macvlan.c
index f42f3e5..28567dc 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -19,6 +19,10 @@
#include <errno.h>
#include <net/ethernet.h>
+#ifdef linux
+#include <netinet/ether.h>
+#endif
+
#include "netifd.h"
#include "device.h"
#include "interface.h"