Build fix: cygwin: unknown type ssize_t
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 May 2021 15:36:34 +0000 (11:36 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 May 2021 15:41:01 +0000 (11:41 -0400)
The build fails on cygwin with the following error:

  In file included from actions/path.c:8:
  ../../include/lttng/action/path-internal.h:31:1: error: unknown type name "ssize_t"; did you mean "_ssize_t"?

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I93aac8ef33cfe19b655d80709c9b95a503815bda

include/lttng/action/path-internal.h

index 23f87ef9bbe769790e840312f984a5209f11bb78..608f144c2b5afa5ec784e9e0fce6f15dd7ec09fc 100644 (file)
@@ -13,6 +13,7 @@
 #include <common/dynamic-array.h>
 #include <common/payload-view.h>
 #include <common/payload.h>
+#include <sys/types.h>
 
 #ifdef __cplusplus
 extern "C" {
This page took 0.025681 seconds and 4 git commands to generate.