]> granicus.if.org Git - curl/commitdiff
added INET_ADDRSTRLEN define in case system headers dont provide.
authorGunter Knauf <gk@gknw.de>
Sat, 4 Jul 2009 11:27:42 +0000 (11:27 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 4 Jul 2009 11:27:42 +0000 (11:27 +0000)
lib/ftp.c

index 5e44e61697aab0e146340ca9da02e555ce72c5d1..8360e585934351603fe26e72f189116c69269155 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
 #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 */