uuid.h should only be included when libuuid is detected
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 15:06:10 +0000 (10:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 15:06:10 +0000 (10:06 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-uuid.h

index 1027acbee9f67579839e39c4e3e1ee5f0c6b393e..88b8fefc788312f6c56074401b3f29320941fe9b 100644 (file)
@@ -21,9 +21,9 @@
  */
 #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)
 {
This page took 0.026154 seconds and 4 git commands to generate.