[LTP] [PATCH COMMITTED] mtest06/mmap1: add missing lapi/abisize.h include
Jan Stancek
jstancek@redhat.com
Sun Oct 27 09:22:29 CET 2019
Naresh reported failures on 32-bit systems, with strace showing
test trying to mmap 2G area.
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
testcases/kernel/mem/mtest06/mmap1.c | 1 +
1 file changed, 1 insertion(+)
@Naresh: Can you give a try with this patch?
diff --git a/testcases/kernel/mem/mtest06/mmap1.c b/testcases/kernel/mem/mtest06/mmap1.c
index 8d84a0bb76f3..c5417444fe9e 100644
--- a/testcases/kernel/mem/mtest06/mmap1.c
+++ b/testcases/kernel/mem/mtest06/mmap1.c
@@ -28,6 +28,7 @@
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
+#include "lapi/abisize.h"
#include "tst_test.h"
#include "tst_safe_pthread.h"
--
1.8.3.1
More information about the ltp
mailing list