aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-04 11:27:42 +0000
committerGunter Knauf <gk@gknw.de>2009-07-04 11:27:42 +0000
commit2aaff16a8721f2a9232ba5569672653f2c304cc1 (patch)
tree032fb2cd1c72626b66c0add8fb04a4fcc8902845 /lib
parent6236198d435fb6743b3001feda04b760a3d333a2 (diff)
added INET_ADDRSTRLEN define in case system headers dont provide.
Diffstat (limited to 'lib')
-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 */