Fix: missing header breaks the cygwin build
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Sep 2018 01:18:33 +0000 (21:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Sep 2018 01:18:35 +0000 (21:18 -0400)
stddef.h must be included to use ssize_t.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/location-internal.h

index 568040da829a0b1815d9571e71992fe8fb9ed739..9072ef34ce6551a8367b067d5581aa914bae4024 100644 (file)
@@ -22,6 +22,7 @@
 #include <common/dynamic-buffer.h>
 #include <common/buffer-view.h>
 #include <common/macros.h>
 #include <common/dynamic-buffer.h>
 #include <common/buffer-view.h>
 #include <common/macros.h>
+#include <stddef.h>
 
 struct lttng_trace_archive_location {
        enum lttng_trace_archive_location_type type;
 
 struct lttng_trace_archive_location {
        enum lttng_trace_archive_location_type type;
This page took 0.033707 seconds and 4 git commands to generate.