Commit 0d583fa4 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed AC_CHECK_HEADERS depending on <sys/socket.h>.

parent 58e916f7
......@@ -141,7 +141,9 @@ SAC_SU_DEFINE([SU_HAVE_BSDSOCK], 1, [Define as 1 if you have BSD socket interfac
AC_CHECK_HEADERS([sys/socket.h sys/ioctl.h sys/filio.h sys/sockio.h])
AC_CHECK_HEADERS([netinet/in.h arpa/inet.h netdb.h \
net/if.h net/if_types.h ifaddr.h netpacket/packet.h],,,
[sys/types.h sys/socket.h])
#include <sys/types.h>
#include <sys/socket.h>])
AC_CACHE_CHECK([for struct addrinfo],
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