diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-24 10:11:40 -0600 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-24 10:11:40 -0600 |
commit | 3af40a378ec6c76ddac5ec026d2be1be128dc16c (patch) | |
tree | 0a207169326a6ab2d800f69d97516d93d4f9f7bb /device.c | |
parent | 8e3fc8bfa55fe256ab9520db8df94dae57a1dc28 (diff) |
fix a compile error on non-linux systems
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,7 +6,10 @@ #include <sys/types.h> #include <sys/socket.h> #include <net/ethernet.h> + +#ifdef linux #include <netinet/ether.h> +#endif #include "netifd.h" #include "system.h" |