*/
#define LTTNG_UST_UUID_STR_LEN 37
+#ifdef LTTNG_UST_HAVE_LIBUUID
#include <uuid/uuid.h>
-#ifdef LTTNG_UST_HAVE_LIBUUID
static inline
int lttng_ust_uuid_generate(unsigned char *uuid_out)
{
{
uint32_t status;
- uuid_create(uuid_out, &status);
+ uuid_create((uuid_t *) uuid_out, &status);
if (status == uuid_s_ok)
return 0;
else