From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 15:06:10 +0000 (-0500) Subject: uuid.h should only be included when libuuid is detected X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=2fb16746789973555fc1b7cedf427a8a44e40bb9;p=lttng-ust.git uuid.h should only be included when libuuid is detected commit 21bc53bb3107d29424ef0c6beba7987ee53a9c7a upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- 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) {