From efaf6886505cd29084af05aa06edc19fd71bdfe9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 15 Mar 2005 21:00:46 +0000 Subject: Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour. --- lib/setup.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index d45d61153..928eb34c7 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -276,4 +276,8 @@ typedef int curl_socket_t; #define LIBIDN_REQUIRED_VERSION "0.4.1" +#ifdef __UCLIBC_MAJOR__ +#define HAVE_INET_NTOA_R_2_ARGS 1 +#endif + #endif /* __CONFIG_H */ -- cgit v1.2.3