From 517915328bfcf050e7236a6879d97ea0d45693c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 4 Sep 2019 19:54:16 -0400 Subject: [PATCH] Fix: lttcomm_consumer_close_trace_chunk_reply undefined without UST MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit lttcomm_consumer_close_trace_chunk_reply is not defined when lttng-tools is build without lttng-ust support. Move its declaration as part of the common section of sessiond-comm.h. Signed-off-by: Jérémie Galarneau --- src/common/sessiond-comm/sessiond-comm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 6fc65a103..a80a6ee97 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -693,14 +693,14 @@ struct lttcomm_consumer_status_channel { unsigned int stream_count; } LTTNG_PACKED; -#ifdef HAVE_LIBLTTNG_UST_CTL - struct lttcomm_consumer_close_trace_chunk_reply { enum lttcomm_return_code ret_code; uint32_t path_length; char path[]; }; +#ifdef HAVE_LIBLTTNG_UST_CTL + #include /* -- 2.34.1