Commit 10f4c7e6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Check for sys/sockio.h

Based on patch by Saso Kiselkov
parent 2f5c4915
......@@ -25,6 +25,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h> /* Needed on Solaris for SIOCGIFADDR */
#endif
#include <net/if.h>
#include <netinet/in.h>
#include <arpa/inet.h>
......
......@@ -19,6 +19,7 @@ AC_PROG_CXX
AC_C_CONST
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([sys/sockio.h])
AC_CHECK_FUNCS([clearenv])
RDC_REPLACE_FUNC_GETOPT_LONG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment