summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch b/meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch
new file mode 100644
index 0000000000..fc7fea02f9
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/0001-Remove-duplicate-include-of-sys-mount.h.patch
@@ -0,0 +1,30 @@
1From 463f3f85e326253feb35015a022ab6d1e03fe1d5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Aug 2022 20:50:27 -0700
4Subject: [PATCH] Remove duplicate include of <sys/mount.h>
5
6<sys/mount.h> is already included by lapi/mount.h.
7
8This fixes build with glibc 2.36+
9
10Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/953]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 testcases/kernel/syscalls/statx/statx09.c | 1 -
14 1 file changed, 1 deletion(-)
15
16diff --git a/testcases/kernel/syscalls/statx/statx09.c b/testcases/kernel/syscalls/statx/statx09.c
17index aea329e086..34c5f41f87 100644
18--- a/testcases/kernel/syscalls/statx/statx09.c
19+++ b/testcases/kernel/syscalls/statx/statx09.c
20@@ -18,7 +18,6 @@
21 */
22
23 #define _GNU_SOURCE
24-#include <sys/mount.h>
25 #include <stdlib.h>
26 #include "tst_test.h"
27 #include "lapi/fs.h"
28--
292.37.1
30