projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c16fbb9
)
Remove unused includes and define IFF_LOWER_UP
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 4 Jan 2009 15:43:05 +0000
(16:43 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 4 Jan 2009 15:43:05 +0000
(16:43 +0100)
plugins/ethernet.c
patch
|
blob
|
history
diff --git
a/plugins/ethernet.c
b/plugins/ethernet.c
index
1e797c0
..
4ef163c
100644
(file)
--- a/
plugins/ethernet.c
+++ b/
plugins/ethernet.c
@@
-24,13
+24,11
@@
#endif
#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <linux/if.h>
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
+#include <net/if.h>
+
+#ifndef IFF_LOWER_UP
+#define IFF_LOWER_UP 0x10000
+#endif
#include <glib.h>