3 --- src/Util.h.orig 2010-04-08 07:03:07.000000000 +0000
13 +#if defined(HAVE_UUID_H)
15 +#elif defined(HAVE_UUID_UUID_H)
16 #include <uuid/uuid.h>
17 +#elif defined(HAVE_SYS_UUID_H)
18 +#include <sys/uuid.h>
20 #include <sys/utsname.h>
23 @@ -12,8 +22,16 @@ class UUID {
27 +#if defined(HAVE_UUID_CREATE)
29 + uuid_create (&u, 0);
30 + uuid_to_string (&u, &uuid, 0);
31 + strncpy (m_uuid, uuid, sizeof(m_uuid));
33 +#elif defined(HAVE_UUID_GENERATE)
35 uuid_unparse (u, m_uuid);
39 operator const gchar * (void) const {