summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.c b/device.c
index 8bc8b53..6b333fb 100644
--- a/device.c
+++ b/device.c
@@ -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"