added INET_ADDRSTRLEN define in case system headers dont provide.

This commit is contained in:
Gunter Knauf 2009-07-04 11:27:42 +00:00
parent 6236198d43
commit 2aaff16a87

View File

@ -101,6 +101,9 @@
#ifndef NI_MAXHOST #ifndef NI_MAXHOST
#define NI_MAXHOST 1025 #define NI_MAXHOST 1025
#endif #endif
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif
#ifdef __SYMBIAN32__ #ifdef __SYMBIAN32__
/* Symbian OS panics when given a timeout much greater than 1/2 hour */ /* Symbian OS panics when given a timeout much greater than 1/2 hour */