aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 5e44e6169..8360e5859 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -101,6 +101,9 @@
#ifndef NI_MAXHOST
#define NI_MAXHOST 1025
#endif
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
#ifdef __SYMBIAN32__
/* Symbian OS panics when given a timeout much greater than 1/2 hour */