summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/lttng/babeltrace
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-02 21:45:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:49 +0000
commitcc4f9860332300925d93e2607d675509fc002be4 (patch)
tree2c85637154332250e654dad371c1335d47b860fc /meta/recipes-kernel/lttng/babeltrace
parentacffe22de65fad2f69c702e4fe94b366883a265b (diff)
downloadopenembedded-core-cc4f9860332300925d93e2607d675509fc002be4.tar.gz
openembedded-core-cc4f9860332300925d93e2607d675509fc002be4.tar.bz2
openembedded-core-cc4f9860332300925d93e2607d675509fc002be4.zip
babeltrace: Add missing header for MAXNAMLEN define
Fix bug exposed on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-kernel/lttng/babeltrace')
-rw-r--r--meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch29
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 @@
+From 8331b87845cafdda40e59a682f2ca8120ed0c472 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 31 Dec 2015 08:17:40 +0000
+Subject: [PATCH] lttng-live: Include sys/param.h for MAXNAMLEN defintion
+
+exposed on musl based systems
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+Upstream-Status: pending
+
+ formats/lttng-live/lttng-live.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/formats/lttng-live/lttng-live.h b/formats/lttng-live/lttng-live.h
+index 4ab641d..808ed2b 100644
+--- a/formats/lttng-live/lttng-live.h
++++ b/formats/lttng-live/lttng-live.h
+@@ -25,6 +25,7 @@
+ */
+
+ #include <stdint.h>
++#include <sys/param.h>
+ #include "lttng-viewer-abi.h"
+
+ #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344
+--
+2.6.4
+