aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index b5459688..6fc921c5 100644
--- a/io.c
+++ b/io.c
@@ -3275,7 +3275,7 @@ inetfile(const char *str, int *length, int *family)
*length = 7;
if (family != NULL)
*family = AF_INET6;
-#ifdef HAVE_GETADDRINFO
+#ifndef HAVE_GETADDRINFO
fatal(_("IPv6 communication is not supported"));
#endif
}