Browse Source

interface-ip: fix build on non-linux systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau 3 years ago
parent
commit
db275e12bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      interface-ip.c

+ 2 - 0
interface-ip.c

@@ -24,6 +24,8 @@
 
 #ifdef linux
 #include <netinet/ether.h>
+#else
+#include <net/ethernet.h>
 #endif
 
 #include "netifd.h"