diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-06-04 13:27:05 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-06-04 13:27:05 +0200 |
commit | db275e12bfc7849c220a173c68403ae41cb251b7 (patch) | |
tree | 3467c2c39c352487a7626ac43f83d7dd36215d33 | |
parent | 3392046d51959b228133e69f54893898df75635e (diff) |
interface-ip: fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | interface-ip.c | 2 |
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" |