diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-07 15:47:43 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-07 15:47:43 +0200 |
commit | 15c26472e9ff09b4bdb3b0ec04a762a3805120ee (patch) | |
tree | 8bf46f41911434a673e5fbcacb73dd6fc4b3346f /macvlan.c | |
parent | 7a3cfc37189aab8991cfaa7986f221d61127599d (diff) |
macvlan: turns out netinet/ether.h is needed on some linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'macvlan.c')
-rw-r--r-- | macvlan.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |