Add configure check for <sys/sockio.h>

Some systems need <sys/sockio.h> for the SIOCGIFCONF ioctl - this switches
to using a proper configure check for that header rather than just assuming
it'll be there if we can't find SIOCGIFCONF.  Should be more robust.
This commit is contained in:
Kevin Easton
2016-03-20 23:48:31 +11:00
parent 94f4e1c2a3
commit 83741aca7a
5 changed files with 10 additions and 5 deletions

View File

@@ -279,6 +279,9 @@
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define to 1 if you have the <sys/soundcard.h> header file. */
#undef HAVE_SYS_SOUNDCARD_H