projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3fc8b
)
fix a compile error on non-linux systems
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 24 Sep 2011 16:11:40 +0000
(10:11 -0600)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 24 Sep 2011 16:11:40 +0000
(10:11 -0600)
device.c
patch
|
blob
|
history
diff --git
a/device.c
b/device.c
index 8bc8b53218c94f16156c606cbd15f5693af5b9aa..6b333fb56938fd71aacaf366b115203194c78655 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"