diff options
Diffstat (limited to 'meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch')
-rw-r--r-- | meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch b/meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch new file mode 100644 index 0000000000..73253d1a63 --- /dev/null +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Fix compiling error on powerpc and arm | ||
4 | |||
5 | For powerpc and arm, some MAP_ are defined asm/mman.h, | ||
6 | so including it in header. | ||
7 | |||
8 | Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> | ||
9 | --- | ||
10 | common/runas.c | 1 + | ||
11 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
12 | |||
13 | diff --git a/common/runas.c b/common/runas.c | ||
14 | index f612ccc..62a2791 100644 | ||
15 | --- a/common/runas.c | ||
16 | +++ b/common/runas.c | ||
17 | @@ -29,6 +29,7 @@ | ||
18 | #include <fcntl.h> | ||
19 | #include <sched.h> | ||
20 | #include <sys/mman.h> | ||
21 | +#include <asm/mman.h> | ||
22 | |||
23 | #include <lttngerr.h> | ||
24 | |||
25 | -- | ||
26 | 1.7.5.4 | ||
27 | |||