From: Jérémie Galarneau Date: Thu, 15 Dec 2022 22:24:19 +0000 (-0500) Subject: Build fix: missing consumer.hpp include in lttng-consumerd.hpp X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46c487f92653607e8172be9fee9b96ec95474441;p=lttng-tools.git Build fix: missing consumer.hpp include in lttng-consumerd.hpp A follow-up commit changes the order of inclusions and fails to build since lttng-consumerd.hpp doesn't include consumer.hpp for its use of `enum lttng_consumer_type`. Signed-off-by: Jérémie Galarneau Change-Id: I8eb6e9ab0e97624c3cae85057c15703873534c2c --- diff --git a/src/bin/lttng-consumerd/lttng-consumerd.hpp b/src/bin/lttng-consumerd/lttng-consumerd.hpp index 833116ade..ab736d55b 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.hpp +++ b/src/bin/lttng-consumerd/lttng-consumerd.hpp @@ -9,6 +9,7 @@ #ifndef _LTTNG_CONSUMERD_H #define _LTTNG_CONSUMERD_H +#include #define NR_LTTNG_CONSUMER_READY 1 extern int lttng_consumer_ready;