diff mbox series

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

Message ID 20180515201949.4201-1-mjeanson@efficios.com
State Accepted, archived
Delegated to: Jérémie Galarneau
Headers show
Series [lttng-tools,1/2] Add missing include for ssize_t on Cygwin | expand

Commit Message

Michael Jeanson May 15, 2018, 8:19 p.m. UTC
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(+)

Comments

Jérémie Galarneau May 26, 2018, 8:44 a.m. UTC | #1
Merged in master, stable-2.10, and stable-2.9 (only the first patch).

Thanks!
Jérémie

On 15 May 2018 at 16:19, Michael Jeanson <mjeanson at efficios.com> wrote:

> 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
>
>
diff mbox series

Patch

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,