]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/lttng-tools/0002-Fix-src-common-pipe.h-include-sys-types.h-for-ssize_.patch
lttng-tools: fix build errors and warnings for musl/uClibc-ng
[coffee/buildroot.git] / package / lttng-tools / 0002-Fix-src-common-pipe.h-include-sys-types.h-for-ssize_.patch
1 From 40dde31f7eeb71af169b97b82d8fd1739895dfc3 Mon Sep 17 00:00:00 2001
2 From: Philippe Proulx <eeppeliteloop@gmail.com>
3 Date: Wed, 8 Nov 2017 15:19:24 -0500
4 Subject: [PATCH] Fix: src/common/pipe.h: include <sys/types.h> for ssize_t and
5  mode_t
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
11 [Philippe: backport from upstream commit 40dde31f]
12 Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
13 ---
14  src/common/pipe.h | 1 +
15  1 file changed, 1 insertion(+)
16
17 diff --git a/src/common/pipe.h b/src/common/pipe.h
18 index 2d4fc967..30f7c3f3 100644
19 --- a/src/common/pipe.h
20 +++ b/src/common/pipe.h
21 @@ -20,6 +20,7 @@
22
23  #include <pthread.h>
24  #include <common/macros.h>
25 +#include <sys/types.h>
26
27  enum lttng_pipe_state {
28         LTTNG_PIPE_STATE_OPENED = 1,
29 --
30 2.15.0
31