summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch b/meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch
new file mode 100644
index 0000000000..1b5b93a4e6
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch
@@ -0,0 +1,45 @@
1From 2b9be924bbad8a1f84ae553fdd1aa8391aa8d2f4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 7 Jan 2016 20:15:07 +0000
4Subject: [PATCH 16/32] ustat: Change header from ustat.h to sys/ustat.h
5
6makes it portable for musl, on glibc ustat.h is just including
7sys/ustat.h too
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 testcases/kernel/syscalls/ustat/ustat01.c | 2 +-
12 testcases/kernel/syscalls/ustat/ustat02.c | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/testcases/kernel/syscalls/ustat/ustat01.c b/testcases/kernel/syscalls/ustat/ustat01.c
16index 01b7688..494647b 100644
17--- a/testcases/kernel/syscalls/ustat/ustat01.c
18+++ b/testcases/kernel/syscalls/ustat/ustat01.c
19@@ -20,8 +20,8 @@
20 */
21
22 #include <unistd.h>
23-#include <ustat.h>
24 #include <errno.h>
25+#include <sys/ustat.h>
26 #include <sys/types.h>
27 #include <sys/stat.h>
28 #include "test.h"
29diff --git a/testcases/kernel/syscalls/ustat/ustat02.c b/testcases/kernel/syscalls/ustat/ustat02.c
30index 4e66236..edada31 100644
31--- a/testcases/kernel/syscalls/ustat/ustat02.c
32+++ b/testcases/kernel/syscalls/ustat/ustat02.c
33@@ -21,8 +21,8 @@
34 */
35
36 #include <unistd.h>
37-#include <ustat.h>
38 #include <errno.h>
39+#include <sys/ustat.h>
40 #include <sys/stat.h>
41 #include <sys/types.h>
42 #include "test.h"
43--
442.7.0
45