From ae9bf16dee59f6a0fefdd9484d434a61ee7c601a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 4 Jan 2002 09:35:23 +0000 Subject: #include the local "inet_ntoa_r.h" file if no proto was found in the global header directory but the function *is* present! --- lib/ftp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3