From: Julien Desfossez Date: Fri, 19 Jan 2018 16:14:35 +0000 (-0500) Subject: Fix: add missing includes for embedded help X-Git-Tag: v2.11.0-rc1~307 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3ae5c539f96856c83f3f17fbc37660d23462e3e5;p=lttng-tools.git Fix: add missing includes for embedded help Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/disable_rotation.c b/src/bin/lttng/commands/disable_rotation.c index e917cbdc1..a4a979030 100644 --- a/src/bin/lttng/commands/disable_rotation.c +++ b/src/bin/lttng/commands/disable_rotation.c @@ -35,6 +35,12 @@ static char *opt_session_name; static struct mi_writer *writer; +#ifdef LTTNG_EMBED_HELP +static const char help_msg[] = +#include +; +#endif + enum { OPT_HELP = 1, OPT_LIST_OPTIONS, diff --git a/src/bin/lttng/commands/enable_rotation.c b/src/bin/lttng/commands/enable_rotation.c index 80fc495ba..80ebc8cdc 100644 --- a/src/bin/lttng/commands/enable_rotation.c +++ b/src/bin/lttng/commands/enable_rotation.c @@ -36,6 +36,12 @@ static char *opt_session_name; static struct mi_writer *writer; +#ifdef LTTNG_EMBED_HELP +static const char help_msg[] = +#include +; +#endif + enum { OPT_HELP = 1, OPT_LIST_OPTIONS, diff --git a/src/bin/lttng/commands/rotate.c b/src/bin/lttng/commands/rotate.c index f8cba7992..5a00d6994 100644 --- a/src/bin/lttng/commands/rotate.c +++ b/src/bin/lttng/commands/rotate.c @@ -37,6 +37,12 @@ static char *opt_session_name; static int opt_no_wait; static struct mi_writer *writer; +#ifdef LTTNG_EMBED_HELP +static const char help_msg[] = +#include +; +#endif + enum { OPT_HELP = 1, OPT_LIST_OPTIONS,