From ae015c96f25ce96ba669362a13853da135977969 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Mon, 28 Nov 2022 00:17:38 +0100 Subject: [PATCH] Update configure.ac/config.h.win32 for new inet functions --- configure.ac | 2 +- src/win32/config.h.win32 | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 71041fd..5510c02 100644 --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ AC_CHECK_DECLS([__CYGWIN__]) AC_SEARCH_LIBS(accept, network socket) # Checks for library functions. -AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_ntoa select socket strerror strlcpy]) +AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_pton inet_ntop select socket strerror strlcpy]) # Required for MinGW with GCC v4.8.1 on Win7 AC_DEFINE(WINVER, 0x0501, _) diff --git a/src/win32/config.h.win32 b/src/win32/config.h.win32 index cc1d911..be0152c 100644 --- a/src/win32/config.h.win32 +++ b/src/win32/config.h.win32 @@ -30,9 +30,6 @@ /* Define to 1 if you have the `gettimeofday' function. */ /* #undef HAVE_GETTIMEOFDAY */ -/* Define to 1 if you have the `inet_ntoa' function. */ -/* #undef HAVE_INET_NTOA */ - /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -- libgit2 0.21.4