diff options
Diffstat (limited to 'meta/recipes-kernel/lttng-2.0/lttng-tools')
-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 000000000..73253d1a6 --- /dev/null +++ b/meta/recipes-kernel/lttng-2.0/lttng-tools/lttng-tools-fix-compiling-error-for-powerpc-arm.patch @@ -0,0 +1,27 @@ +Upstream-Status: Pending + +Fix compiling error on powerpc and arm + +For powerpc and arm, some MAP_ are defined asm/mman.h, +so including it in header. + +Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> +--- + common/runas.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/common/runas.c b/common/runas.c +index f612ccc..62a2791 100644 +--- a/common/runas.c ++++ b/common/runas.c +@@ -29,6 +29,7 @@ + #include <fcntl.h> + #include <sched.h> + #include <sys/mman.h> ++#include <asm/mman.h> + + #include <lttngerr.h> + +-- +1.7.5.4 + |