Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 11a42df394de3dc520e72a016296dcc6dea02a7a 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 dbfcca5..ca00df1 100644 |
| 18 | --- a/io/mmap.c |
| 19 | +++ b/io/mmap.c |
| 20 | @@ -4,10 +4,11 @@ |
| 21 | * All Rights Reserved. |
| 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 | |