summaryrefslogtreecommitdiffstats
path: root/recipes-extended/odp/files/0001-Fix-this-build-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/odp/files/0001-Fix-this-build-error.patch')
-rw-r--r--recipes-extended/odp/files/0001-Fix-this-build-error.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-extended/odp/files/0001-Fix-this-build-error.patch b/recipes-extended/odp/files/0001-Fix-this-build-error.patch
new file mode 100644
index 000000000..cebd7da16
--- /dev/null
+++ b/recipes-extended/odp/files/0001-Fix-this-build-error.patch
@@ -0,0 +1,29 @@
1From 9fb1642b38053de6e8098f6b608ad86ff45bf7f7 Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <chunrong.guo@nxp.com>
3Date: Fri, 28 Jul 2017 14:59:22 +0800
4Subject: [PATCH] Fix this build error
5
6fix the below error:
7|error: 'SIGEV_THREAD' undeclared (first use in this function); did you mean 'CLONE_THREAD'?
8
9Upstream-Status: Pending
10Signed-off-by: Chunrong Guo <B40290@freescale.com>
11---
12 example/lpm-ipfwd/app/odp_lpmfwd.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/example/lpm-ipfwd/app/odp_lpmfwd.c b/example/lpm-ipfwd/app/odp_lpmfwd.c
16index 57c5e82..f8507be 100644
17--- a/example/lpm-ipfwd/app/odp_lpmfwd.c
18+++ b/example/lpm-ipfwd/app/odp_lpmfwd.c
19@@ -23,6 +23,7 @@
20 #include <errno.h>
21 #include <error.h>
22 #include <mqueue.h>
23+#include <signal.h>
24
25 #include <example_debug.h>
26
27--
281.8.3.2
29