From: David Goulet Date: Thu, 21 Mar 2013 17:12:23 +0000 (-0400) Subject: Fix: wrong header path when compiling without UST support X-Git-Tag: v2.2.0-rc1~55 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=534b3ed8dd2a11b8fc7228cfe053ffdaad6e18fb;p=lttng-tools.git Fix: wrong header path when compiling without UST support Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/buffer-registry.h b/src/bin/lttng-sessiond/buffer-registry.h index 4b19f7190..486b675f4 100644 --- a/src/bin/lttng-sessiond/buffer-registry.h +++ b/src/bin/lttng-sessiond/buffer-registry.h @@ -19,13 +19,13 @@ #define LTTNG_BUFFER_REGISTRY_H #include -#include #include #include #include #include "consumer.h" +#include "ust-ctl.h" #include "ust-registry.h" struct buffer_reg_stream { diff --git a/src/bin/lttng-sessiond/lttng-ust-abi.h b/src/bin/lttng-sessiond/lttng-ust-abi.h index df61cde57..03d2e65f6 100644 --- a/src/bin/lttng-sessiond/lttng-ust-abi.h +++ b/src/bin/lttng-sessiond/lttng-ust-abi.h @@ -28,7 +28,9 @@ */ #include -#include + +#define lttng_ust_notrace __attribute__((no_instrument_function)) +#define LTTNG_PACKED __attribute__((__packed__)) #ifndef __ust_stringify #define __ust_stringify1(x) #x diff --git a/src/bin/lttng-sessiond/lttng-ust-ctl.h b/src/bin/lttng-sessiond/lttng-ust-ctl.h index fc5c79474..7f59b8666 100644 --- a/src/bin/lttng-sessiond/lttng-ust-ctl.h +++ b/src/bin/lttng-sessiond/lttng-ust-ctl.h @@ -19,9 +19,10 @@ #ifndef _LTTNG_UST_CTL_H #define _LTTNG_UST_CTL_H -#include #include +#include "lttng-ust-abi.h" + #ifndef LTTNG_UST_UUID_LEN #define LTTNG_UST_UUID_LEN 16 #endif diff --git a/src/bin/lttng-sessiond/lttng-ust-error.h b/src/bin/lttng-sessiond/lttng-ust-error.h index 05cc3bee6..d9062c0a8 100644 --- a/src/bin/lttng-sessiond/lttng-ust-error.h +++ b/src/bin/lttng-sessiond/lttng-ust-error.h @@ -28,7 +28,8 @@ #include #include -#include + +#include "lttng-ust-abi.h" /* * ustcomm error code.