diff -r 288359176ea1 -r fab86bb654da network_core.h --- a/network_core.h Sat Dec 09 23:55:56 2006 +0000 +++ b/network_core.h Sun Dec 10 00:20:26 2006 +0000 @@ -64,7 +64,7 @@ # include # include // According to glibc/NEWS, appeared in glibc-2.3. -# if !defined(__sgi__) && !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) \ +# if !defined(__sgi__) && !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) && !defined(__INNOTEK_LIBC__) \ && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__) // If for any reason ifaddrs.h does not exist on your system, comment out // the following two lines and an alternative way will be used to fetch @@ -118,7 +118,9 @@ # define INADDR_NONE 0xffffffff typedef int socklen_t; +#if !defined(__INNOTEK_LIBC__) typedef unsigned long in_addr_t; +#endif /* __INNOTEK_LIBC__ */ #endif // OS/2 // MorphOS and Amiga stuff