clang-tidy complains that some headers omit the inclusion of their
dependencies, which prevents the analysis from completing.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic6d51e82c5f5536c0d421c38a97afddbe64a16ef
#ifndef LTTNG_CHANNEL_INTERNAL_H
#define LTTNG_CHANNEL_INTERNAL_H
+#include <common/error.hpp>
#include <common/macros.hpp>
struct lttng_channel_extended {
-#ifndef LTTNG_REF_INTERNAL_H
-#define LTTNG_REF_INTERNAL_H
-
/*
* LTTng - Non thread-safe reference counting
*
*
*/
+#ifndef LTTNG_REF_INTERNAL_H
+#define LTTNG_REF_INTERNAL_H
+
+#include <common/macros.hpp>
+
+#include <urcu/urcu.h>
+
using lttng_release_func = void (*)(void *);
struct lttng_ref {
#include <lttng/lttng.h>
#include <inttypes.h>
+#include <urcu/urcu.h>
/* Agent protocol version that is verified during the agent registration. */
#define AGENT_MAJOR_VERSION 2
#ifndef COMMON_SNAPSHOT_H
#define COMMON_SNAPSHOT_H
+#include <common/error.hpp>
#include <common/macros.hpp>
#include <stdbool.h>