summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch')
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
new file mode 100644
index 0000000000..a530a5267a
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
@@ -0,0 +1,33 @@
1From ec9163c0436d1c77cecc941aca2e524b26001b15 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:51:02 -0700
4Subject: [PATCH] Include dirent.h for ino_t
5
6Fixes
7error: unknown type name 'ino_t'; did you mean 'int'?
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13Update for 2.22.
14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
15---
16 tests/hugetests.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/tests/hugetests.h b/tests/hugetests.h
20index bc4e16a..fbe4dc0 100644
21--- a/tests/hugetests.h
22+++ b/tests/hugetests.h
23@@ -22,6 +22,7 @@
24
25 #include <errno.h>
26 #include <string.h>
27+#include <dirent.h>
28 #include <unistd.h>
29
30 #include "libhugetlbfs_privutils.h"
31--
322.25.1
33