diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0022-include-sys-types.h.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0022-include-sys-types.h.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0022-include-sys-types.h.patch b/meta/recipes-extended/ltp/ltp/0022-include-sys-types.h.patch new file mode 100644 index 0000000000..413b44ac71 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0022-include-sys-types.h.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 7ac6fd51991ac61d1d7594f601d87842060ee284 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 8 Jan 2016 07:06:11 +0000 | ||
4 | Subject: [PATCH 22/32] include sys/types.h | ||
5 | |||
6 | Fixes | ||
7 | |||
8 | error: unknown type name 'uint' | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | testcases/kernel/ipc/ipc_stress/shmem_test_04.c | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/testcases/kernel/ipc/ipc_stress/shmem_test_04.c b/testcases/kernel/ipc/ipc_stress/shmem_test_04.c | ||
16 | index 72c2e60..e7e5f61 100644 | ||
17 | --- a/testcases/kernel/ipc/ipc_stress/shmem_test_04.c | ||
18 | +++ b/testcases/kernel/ipc/ipc_stress/shmem_test_04.c | ||
19 | @@ -65,6 +65,7 @@ | ||
20 | #include <signal.h> | ||
21 | #include <stdint.h> | ||
22 | #include <sys/mman.h> | ||
23 | +#include <sys/types.h> | ||
24 | |||
25 | #ifdef _LINUX_ | ||
26 | typedef unsigned long ulong_t; | ||
27 | -- | ||
28 | 2.7.0 | ||
29 | |||