Really test for netinet/ip.h and set HAVE_NETINET_IP_H

This commit is contained in:
Alexander Barton 2009-12-31 00:38:47 +01:00
parent 75dabcaae5
commit 1ddc74f13e
2 changed files with 4 additions and 1 deletions

View File

@ -105,7 +105,8 @@ AC_CHECK_HEADERS([ \
strings.h sys/socket.h sys/time.h unistd.h \
],,AC_MSG_ERROR([required C header missing!]))
AC_CHECK_HEADERS([arpa/inet.h ctype.h malloc.h stdbool.h stddef.h varargs.h])
AC_CHECK_HEADERS([ \
arpa/inet.h ctype.h malloc.h netinet/ip.h stdbool.h stddef.h varargs.h])
# -- Datatypes --

View File

@ -71,6 +71,8 @@
#define HAVE_STDBOOL_H 1
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <netinet/ip.h> header file. */
#define HAVE_NETINET_IP_H 1
/* Define to 1 if you have the `kqueue' function. */
#define HAVE_KQUEUE 1