From 2fb16746789973555fc1b7cedf427a8a44e40bb9 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 10:06:10 -0500 Subject: [PATCH] uuid.h should only be included when libuuid is detected commit 21bc53bb3107d29424ef0c6beba7987ee53a9c7a upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- liblttng-ust/lttng-ust-uuid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblttng-ust/lttng-ust-uuid.h b/liblttng-ust/lttng-ust-uuid.h index 1027acbe..88b8fefc 100644 --- a/liblttng-ust/lttng-ust-uuid.h +++ b/liblttng-ust/lttng-ust-uuid.h @@ -21,9 +21,9 @@ */ #define LTTNG_UST_UUID_STR_LEN 37 +#ifdef LTTNG_UST_HAVE_LIBUUID #include -#ifdef LTTNG_UST_HAVE_LIBUUID static inline int lttng_ust_uuid_generate(unsigned char *uuid_out) { -- 2.34.1