Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / utils / xfsprogs / patches / 140-mman.patch
1 --- a/io/mmap.c
2 +++ b/io/mmap.c
3 @@ -11,6 +11,14 @@
4 #include "init.h"
5 #include "io.h"
6
7 +#ifndef MAP_SYNC
8 +#define MAP_SYNC 0
9 +#endif
10 +
11 +#ifndef MAP_SHARED_VALIDATE
12 +#define MAP_SHARED_VALIDATE 0x03
13 +#endif
14 +
15 static cmdinfo_t mmap_cmd;
16 static cmdinfo_t mread_cmd;
17 static cmdinfo_t msync_cmd;