Fix: lttcomm_consumer_close_trace_chunk_reply undefined without UST
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 23:54:16 +0000 (19:54 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:16 +0000 (16:39 -0400)
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 <jeremie.galarneau@efficios.com>
src/common/sessiond-comm/sessiond-comm.h

index 6fc65a103167b8a5db13fa99dcc24b1820906fb9..a80a6ee97664ac04ace77307d90a70184be9ce21 100644 (file)
@@ -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 <lttng/ust-abi.h>
 
 /*
This page took 0.028819 seconds and 4 git commands to generate.