common: compile libcompat as C++
[lttng-tools.git] / include / lttng / kernel-probe-internal.h
index 06c3d7c7e77e097c2cc7b23b36f733a969252297..e0b94749ef777fb297e09492061d29d59fc72e69 100644 (file)
 #include <common/fd-handle.h>
 #include <common/macros.h>
 #include <lttng/kernel-probe.h>
+#include <lttng/lttng-error.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <sys/types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_payload;
 struct lttng_payload_view;
 struct lttng_dynamic_buffer;
@@ -106,4 +111,8 @@ enum lttng_error_code lttng_kernel_probe_location_mi_serialize(
                const struct lttng_kernel_probe_location *location,
                struct mi_writer *writer);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_KERNEL_PROBE_INTERNAL_H */
This page took 0.023137 seconds and 4 git commands to generate.