From: Mathieu Desnoyers Date: Thu, 12 Dec 2019 16:51:40 +0000 (-0500) Subject: Fix: sessiond cmd.h: include missing lttng-sessiond.h X-Git-Tag: v2.12.0-rc1~160 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aa74bd72a737b6d641957d636f7b59f9a8a36b70;p=lttng-tools.git Fix: sessiond cmd.h: include missing lttng-sessiond.h lttng-sessiond.h declares struct command_ctx which is used in cmd.h prototypes. It typically does not generate a compilation error because all compile units including cmd.h also include lttng-sessiond.h, but it is cleaner to include dependencies directly in cmd.h. Signed-off-by: Mathieu Desnoyers Change-Id: If3106291309cd543a886b2aecda7d4f9d4b290b3 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/cmd.h b/src/bin/lttng-sessiond/cmd.h index 32fb7fa60..a59bc220f 100644 --- a/src/bin/lttng-sessiond/cmd.h +++ b/src/bin/lttng-sessiond/cmd.h @@ -20,6 +20,7 @@ #include "context.h" #include "session.h" +#include "lttng-sessiond.h" struct notification_thread_handle;