>That should work, could you examine what is wrong with socket.h? You
>can check that by looking at what is on line 52. It might be that
>socket.h needs a header or so, or maybe there is a typo. Impossible
>to say without knowing what socket.h looks like.
Here are lines 46 to 62 from socket.h (line 52: typedef uint16_t
sa_family_t;):
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _SA_FAMILY_T
#define _SA_FAMILY_T
typedef uint16_t sa_family_t;
#endif
#ifndef _SOCKLEN_T
#define _SOCKLEN_T
#if defined(_XPG4_2) && !defined(_XPG5) && !defined(_LP64)
typedef size_t socklen_t;
#else
typedef uint32_t socklen_t;
#endif /* defined(_XPG4_2) && !defined(_XPG5) && !defined(_LP64) */
Thanks,
Johannes Fleischer
_______________________________________________
Bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils