projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a compile error on non-linux systems
[project/netifd.git]
/
device.c
diff --git
a/device.c
b/device.c
index
8bc8b53
..
6b333fb
100644
(file)
--- 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"