Erik van Konijnenburg
2005-May-22 07:51 UTC
[klibc] [patch 07/12] make ioctl defines visible
Defines such as SIOCGIFFLAGS are available via <sys/ioctl.h> in glibc. Signed-off-by: Erik van Konijnenburg <ekonijn@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> --