sockio.h is required on OpenSolaris for SIOCGIFADDR.

This commit is contained in:
Tobias Brunner
2009-08-14 14:50:50 +02:00
parent 647bd246e4
commit e580e0a9a2
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>