From: Daniel Stenberg Date: Fri, 4 Jan 2002 09:35:23 +0000 (+0000) Subject: #include the local "inet_ntoa_r.h" file if no proto was found in the global X-Git-Tag: curl-7_9_3-pre1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9bf16dee59f6a0fefdd9484d434a61ee7c601a;p=curl #include the local "inet_ntoa_r.h" file if no proto was found in the global header directory but the function *is* present! --- 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