diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch b/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch new file mode 100644 index 0000000000..eb16cd1d2e --- /dev/null +++ b/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 8331b87845cafdda40e59a682f2ca8120ed0c472 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 31 Dec 2015 08:17:40 +0000 | ||
4 | Subject: [PATCH] lttng-live: Include sys/param.h for MAXNAMLEN defintion | ||
5 | |||
6 | exposed on musl based systems | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: pending | ||
11 | |||
12 | formats/lttng-live/lttng-live.h | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/formats/lttng-live/lttng-live.h b/formats/lttng-live/lttng-live.h | ||
16 | index 4ab641d..808ed2b 100644 | ||
17 | --- a/formats/lttng-live/lttng-live.h | ||
18 | +++ b/formats/lttng-live/lttng-live.h | ||
19 | @@ -25,6 +25,7 @@ | ||
20 | */ | ||
21 | |||
22 | #include <stdint.h> | ||
23 | +#include <sys/param.h> | ||
24 | #include "lttng-viewer-abi.h" | ||
25 | |||
26 | #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344 | ||
27 | -- | ||
28 | 2.6.4 | ||
29 | |||