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-Tag: v2.1.0-rc1~97^2~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=21bc53bb3107d29424ef0c6beba7987ee53a9c7a;p=lttng-ust.git uuid.h should only be included when libuuid is detected Signed-off-by: Mathieu Desnoyers --- 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) {