Commit ae015c96f25ce96ba669362a13853da135977969
1 parent
1b11745b
Update configure.ac/config.h.win32 for new inet functions
Showing
2 changed files
with
1 additions
and
4 deletions
configure.ac
| @@ -104,7 +104,7 @@ AC_CHECK_DECLS([__CYGWIN__]) | @@ -104,7 +104,7 @@ AC_CHECK_DECLS([__CYGWIN__]) | ||
| 104 | AC_SEARCH_LIBS(accept, network socket) | 104 | AC_SEARCH_LIBS(accept, network socket) |
| 105 | 105 | ||
| 106 | # Checks for library functions. | 106 | # Checks for library functions. |
| 107 | -AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_ntoa select socket strerror strlcpy]) | 107 | +AC_CHECK_FUNCS([accept4 getaddrinfo gettimeofday inet_pton inet_ntop select socket strerror strlcpy]) |
| 108 | 108 | ||
| 109 | # Required for MinGW with GCC v4.8.1 on Win7 | 109 | # Required for MinGW with GCC v4.8.1 on Win7 |
| 110 | AC_DEFINE(WINVER, 0x0501, _) | 110 | AC_DEFINE(WINVER, 0x0501, _) |
src/win32/config.h.win32
| @@ -30,9 +30,6 @@ | @@ -30,9 +30,6 @@ | ||
| 30 | /* Define to 1 if you have the `gettimeofday' function. */ | 30 | /* Define to 1 if you have the `gettimeofday' function. */ |
| 31 | /* #undef HAVE_GETTIMEOFDAY */ | 31 | /* #undef HAVE_GETTIMEOFDAY */ |
| 32 | 32 | ||
| 33 | -/* Define to 1 if you have the `inet_ntoa' function. */ | ||
| 34 | -/* #undef HAVE_INET_NTOA */ | ||
| 35 | - | ||
| 36 | /* Define to 1 if you have the <inttypes.h> header file. */ | 33 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| 37 | #define HAVE_INTTYPES_H 1 | 34 | #define HAVE_INTTYPES_H 1 |
| 38 | 35 |