On 13 aug 2007, at 23.43, Jean-Marc Lasgouttes wrote:

Anders Ekberg <[EMAIL PROTECTED]> writes:

I get the same.

usr/include/sys/signal.h:183 contains:

#ifndef _UID_T
#define _UID_T
typedef __darwin_uid_t                  uid_t; <- 183
#endif


And what do you have in src/config.h?

JMarc

I have the same as Bennett:
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t int

In addition, gid_t which also causes problems is defined in the same way:
/* Define to `int' if <sys/types.h> doesn't define. */
#define gid_t int

(include/sys/types.h:114 where Bennett's last compilation failed includes the same definition as /usr/include/unistd.h that I had problems with, i.e.
typedef __darwin_gid_t          gid_t;  )

Both the definition of uid_t and gid_t are commented out in the 1.5.1 code, as Bennett noted.

Anders

Reply via email to