diff options
-rw-r--r-- | lib/ftp.c | 2 | ||||
-rw-r--r-- | lib/url.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,7 @@ #include "memdebug.h" #endif -#ifdef NI_WITHSCOPEID +#ifdef HAVE_NI_WITHSCOPEID #define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID #else #define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV @@ -1877,7 +1877,7 @@ static void verboseconnect(struct connectdata *conn, #ifdef ENABLE_IPV6 { char hbuf[NI_MAXHOST]; -#ifdef NI_WITHSCOPEID +#ifdef HAVE_NI_WITHSCOPEID #define NIFLAGS NI_NUMERICHOST | NI_WITHSCOPEID #else #define NIFLAGS NI_NUMERICHOST |