[klibc] [patch 07/12] make ioctl defines visible

Erik van Konijnenburg ekonijn at xs4all.nl
Sun May 22 07:51:41 PDT 2005


Defines such as SIOCGIFFLAGS are available via <sys/ioctl.h>
in glibc.

Signed-off-by: Erik van Konijnenburg <ekonijn at xs4all.nl>

Index: exec/ipconfig/netdev.c
===================================================================
--- exec.orig/ipconfig/netdev.c	2004-06-18 02:06:56.000000000 +0200
+++ exec/ipconfig/netdev.c	2005-05-21 13:56:57.000000000 +0200
@@ -5,6 +5,7 @@
  */
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/ioctl.h>
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>

--



More information about the klibc mailing list