aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-04 09:35:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-04 09:35:23 +0000
commitae9bf16dee59f6a0fefdd9484d434a61ee7c601a (patch)
tree347d6c40d4aa8ad9602556b89855b21b2086d260 /lib
parent17a8bf212f26ba17d14a6e00048ab6f15b4baf89 (diff)
#include the local "inet_ntoa_r.h" file if no proto was found in the global
header directory but the function *is* present!
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 0ac5d4d2b..1acf2dd7e 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -84,6 +84,10 @@
#include "ssluse.h"
#include "connect.h"
+#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
+#include "inet_ntoa_r.h"
+#endif
+
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>