summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-05-26 22:10:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-05-26 22:10:15 +0200
commit1b89456509c1ae3907bd65d9bc2114423ee4e790 (patch)
tree427aa34149c102f09a6131bda0ce701338dedf4b /configure.ac
parent9d85d4746bcac97a06006db462f02037ffaabae0 (diff)
downloadcurl-1b89456509c1ae3907bd65d9bc2114423ee4e790.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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 \