summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-06-04 13:27:05 +0200
committerFelix Fietkau <nbd@nbd.name>2020-06-04 13:27:05 +0200
commitdb275e12bfc7849c220a173c68403ae41cb251b7 (patch)
tree3467c2c39c352487a7626ac43f83d7dd36215d33 /interface-ip.c
parent3392046d51959b228133e69f54893898df75635e (diff)
interface-ip: fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-ip.c b/interface-ip.c
index ff8f219..2e46f14 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -24,6 +24,8 @@
#ifdef linux
#include <netinet/ether.h>
+#else
+#include <net/ethernet.h>
#endif
#include "netifd.h"