[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Compile problems on Solaris
From: |
Johannes Fleischer |
Subject: |
Re: [bug-inetutils] Compile problems on Solaris |
Date: |
Thu, 01 Dec 2005 19:26:34 +0100 |
>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