Ralf S. Engelschall wrote:
>> It occurs when system headers have already been included before,
>> such as when running the default "confdefs" from configure:
>>
>> | #ifdef HAVE_UNISTD_H
>> | # include <unistd.h>
>> | #endif
>> | #include <uuid.h>
>>
>> This should probably be taken care of upstream (in OSSP uuid),
>> just thought I'd mention it here since RPM5 is affected by it.
>
> As I'm upstream myself I'll look what I can do
> to resolve this conflict...
In case it helps, this is the system type definition:
#ifndef _POSIX_C_SOURCE
#ifndef _UUID_T
#define _UUID_T
typedef __darwin_uuid_t uuid_t;
#endif /* _UUID_T */
#endif /* _POSIX_C_SOURCE */
You might want to look for the macro _UUID_T, maybe ?
The actual type is used in "the UUID library" at:
http://www.opensource.apple.com/darwinsource/10.4/xnu-792/bsd/uuid/
uuid.h
http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/bsd/uuid/
uuid.h
i.e. it comes with the system kernel, on Mac OS X.
--anders
Received on Tue Mar 4 14:06:28 2008