Subject: | uuid_t already defined by Darwin |
On OS X (10.4 certainly) uuid_t is defined in <unistd.h> (it's a unsigned char[16], fwiw)
In file included from UUID.xs:4:
UUID.h:93: error: conflicting types for 'uuid_t'
/usr/include/unistd.h:121: error: previous declaration of 'uuid_t' was here
I solved with,
perl -pi -e 's/\buuid_t/data_uuid_t/g' UUID.* typemap