[lttng-dev] [PATCH lttng-tools 1/2] Add missing include for ssize_t on Cygwin

Michael Jeanson mjeanson at efficios.com
Tue May 15 16:19:48 EDT 2018


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 include/lttng/condition/condition-internal.h  | 1 +
 include/lttng/condition/evaluation-internal.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/lttng/condition/condition-internal.h b/include/lttng/condition/condition-internal.h
index 72a8922b..969c7682 100644
--- a/include/lttng/condition/condition-internal.h
+++ b/include/lttng/condition/condition-internal.h
@@ -24,6 +24,7 @@
 #include <stdbool.h>
 #include <urcu/list.h>
 #include <stdint.h>
+#include <sys/types.h>
 
 typedef void (*condition_destroy_cb)(struct lttng_condition *condition);
 typedef bool (*condition_validate_cb)(const struct lttng_condition *condition);
diff --git a/include/lttng/condition/evaluation-internal.h b/include/lttng/condition/evaluation-internal.h
index 414760e0..e2b6c384 100644
--- a/include/lttng/condition/evaluation-internal.h
+++ b/include/lttng/condition/evaluation-internal.h
@@ -22,6 +22,7 @@
 #include <common/macros.h>
 #include <common/buffer-view.h>
 #include <stdbool.h>
+#include <sys/types.h>
 
 typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
 typedef ssize_t (*evaluation_serialize_cb)(struct lttng_evaluation *evaluation,
-- 
2.17.0



More information about the lttng-dev mailing list