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