diff options
author | Gunter Knauf <gk@gknw.de> | 2009-07-04 11:27:42 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2009-07-04 11:27:42 +0000 |
commit | 2aaff16a8721f2a9232ba5569672653f2c304cc1 (patch) | |
tree | 032fb2cd1c72626b66c0add8fb04a4fcc8902845 /lib | |
parent | 6236198d435fb6743b3001feda04b760a3d333a2 (diff) |
added INET_ADDRSTRLEN define in case system headers dont provide.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |