#include the local "inet_ntoa_r.h" file if no proto was found in the global
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Jan 2002 09:35:23 +0000 (09:35 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Jan 2002 09:35:23 +0000 (09:35 +0000)
header directory but the function *is* present!

lib/ftp.c

index 0ac5d4d..1acf2dd 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
 #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>