[klibc] [PATCH 12/16] netdev.c needs sockios.h
Mike Waychison
mikew at google.com
Mon Mar 1 23:46:30 PST 2010
netdev.c needs to pull in sockios.h directly to get at the socket ioctls.
sockios.h used to be pulled in from linux/socket.h, but its include is now
hidden behind __KERNEL__.
Signed-off-by: Mike Waychison <mikew at google.com>
---
usr/kinit/ipconfig/netdev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usr/kinit/ipconfig/netdev.c b/usr/kinit/ipconfig/netdev.c
index 35a920c..e0f7dad 100644
--- a/usr/kinit/ipconfig/netdev.c
+++ b/usr/kinit/ipconfig/netdev.c
@@ -12,6 +12,7 @@
#include <net/if_arp.h>
#include <netinet/in.h>
#include <linux/route.h>
+#include <linux/sockios.h>
#include "netdev.h"
More information about the klibc
mailing list