Index: src/platform/POSIX/OFSystemInfo+NetworkInterfaces.m ================================================================== --- src/platform/POSIX/OFSystemInfo+NetworkInterfaces.m +++ src/platform/POSIX/OFSystemInfo+NetworkInterfaces.m @@ -13,10 +13,16 @@ * file. */ #include "config.h" +#ifdef HAVE_SYS_IOCTL_H +# include +#endif +#ifdef OF_HAVE_SYS_SOCKET_H +# include +#endif #ifdef HAVE_NET_IF_H # include #endif #ifdef HAVE_NET_IF_TYPES_H # include @@ -25,13 +31,10 @@ # include #endif #ifdef HAVE_NETPACKET_PACKET_H # include #endif -#ifdef HAVE_SYS_IOCTL_H -# include -#endif #import "OFSystemInfo.h" #import "OFSystemInfo+NetworkInterfaces.h" #import "OFArray.h" #import "OFData.h"