interface-ip: fix build on non-linux systems
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 Jun 2020 11:27:05 +0000 (13:27 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Jun 2020 11:27:05 +0000 (13:27 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface-ip.c

index ff8f2193e33d627d36cb1c5ae24360fc3e064674..2e46f142452212ffa54a23751600178394bb9abc 100644 (file)
@@ -24,6 +24,8 @@
 
 #ifdef linux
 #include <netinet/ether.h>
+#else
+#include <net/ethernet.h>
 #endif
 
 #include "netifd.h"