From 1b89456509c1ae3907bd65d9bc2114423ee4e790 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 May 2014 22:10:15 +0200 Subject: url-parser: only use if_nametoindex if detected by configure The previous #ifdef detection wasn't good enough. Bug: http://curl.haxx.se/mail/lib-2014-05/0260.html Reported-by: Chris Young --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 11772444e..d9b7a247e 100644 --- a/configure.ac +++ b/configure.ac @@ -3035,6 +3035,7 @@ AC_CHECK_FUNCS([fork \ getpwuid \ getrlimit \ gettimeofday \ + if_nametoindex \ inet_addr \ perror \ pipe \ -- cgit v1.2.3