Skip to content

Commit 10e33ec

Browse files
committed
Add checks for netinet/ip.h and gai_strerror
Extracted from #745
1 parent a6202ad commit 10e33ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ AC_CHECK_HEADERS([ \
8585
linux/serial.h \
8686
netdb.h \
8787
netinet/in.h \
88+
netinet/ip.h \
8889
netinet/tcp.h \
8990
sys/ioctl.h \
9091
sys/params.h \
@@ -104,7 +105,7 @@ AC_CHECK_DECLS([__CYGWIN__])
104105
AC_SEARCH_LIBS(accept, network socket)
105106

106107
# Checks for library functions.
107-
AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_pton inet_ntop select socket strerror strlcpy])
108+
AC_CHECK_FUNCS([accept4 gai_strerror getaddrinfo gettimeofday inet_pton inet_ntop select socket strerror strlcpy])
108109

109110
# Required for MinGW with GCC v4.8.1 on Win7
110111
AC_DEFINE(WINVER, 0x0501, _)

0 commit comments

Comments
 (0)