diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-23 05:38:55 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-24 08:58:13 -0700 |
commit | e5d94825eafaca06f9acc9bccf9a20cf9b7b519a (patch) | |
tree | e64fe2bac48010a6f41f0a3a9505f56fea35c5cc /meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch | |
parent | 7d1f239d2f2c653c458baee6f2997b5ec8ebc7d3 (diff) | |
download | meta-openembedded-e5d94825eafaca06f9acc9bccf9a20cf9b7b519a.tar.gz |
xfsprogs: Fix build on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch')
-rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch b/meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch new file mode 100644 index 0000000000..89447fd92e --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 18298d7c028cd5fbd2c68fa428dc2384344aeb91 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 23 Aug 2018 05:33:57 +0000 | ||
4 | Subject: [PATCH] include include/xfs/linux.h after <sys/mman.h> | ||
5 | |||
6 | This helps compiling with musl which goes ahead and undefines MAP_SYNC | ||
7 | for mips and other architectures where its not wired in kernel | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | io/mmap.c | 5 +++-- | ||
14 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/io/mmap.c b/io/mmap.c | ||
17 | index 106be49..34fadf4 100644 | ||
18 | --- a/io/mmap.c | ||
19 | +++ b/io/mmap.c | ||
20 | @@ -16,10 +16,11 @@ | ||
21 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
22 | */ | ||
23 | |||
24 | -#include "command.h" | ||
25 | -#include "input.h" | ||
26 | #include <sys/mman.h> | ||
27 | #include <signal.h> | ||
28 | + | ||
29 | +#include "command.h" | ||
30 | +#include "input.h" | ||
31 | #include "init.h" | ||
32 | #include "io.h" | ||
33 | |||