aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-24 12:33:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-24 12:33:16 +0000
commit1b1f143cd65cb86138e3083790d89f959e3ecc87 (patch)
tree8f1f2128b6176c5f3019620af721747e13abb4d1 /lib/if2ip.c
parent31b8eea0414bfb9188f6beea94ea72b26c33894f (diff)
hostname and large file support added
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index ede5cf08c..25b2c40c2 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -82,7 +82,7 @@
#include <sys/sockio.h>
#endif
-#ifndef HAVE_INET_NTOA_R_DECL
+#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
#include "inet_ntoa_r.h"
#endif