1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

Fix detection of struct ip_mreq

* configura.ac: netinet/in.h is required to complete definition of
  struct ip_mreq.
This commit is contained in:
Tristan Colgate-McFarlane 2010-10-20 09:28:30 +01:00 committed by Andy Wingo
parent 3251222637
commit 705a2b9bc8

View file

@ -673,7 +673,8 @@ AC_CHECK_TYPE(socklen_t, ,
#endif
#include <sys/socket.h>
])
AC_CHECK_TYPE(struct ip_mreq)
AC_CHECK_TYPES([struct ip_mreq], , , [#include <netinet/in.h>])
GUILE_HEADER_LIBC_WITH_UNISTD