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.0.0-rc2~61 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ce32a22799df2d99926df4563e3a52059e3e180a;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) {