aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2005-03-15 21:00:46 +0000
committerDan Fandrich <dan@coneharvesters.com>2005-03-15 21:00:46 +0000
commitefaf6886505cd29084af05aa06edc19fd71bdfe9 (patch)
tree471544cf284f9dc3e37b602e2acc9b44d440986e /lib/setup.h
parent9a5c21c16f12fc3a54f94cad5a95b14e794e9009 (diff)
Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h4
1 files changed, 4 insertions, 0 deletions
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 */