blob: be270410703b72fe61aba8e07e156fa1c310a43a (
plain) (
tree)
|
|
--- xfsprogs-4.18.0/io/mmap.c.old 2018-08-24 20:17:05.000000000 +0000
+++ xfsprogs-4.18.0/io/mmap.c 2018-11-03 22:13:06.790000000 +0000
@@ -20,6 +20,14 @@
static cmdinfo_t mremap_cmd;
#endif /* HAVE_MREMAP */
+#ifndef HAVE_MAP_SYNC
+#define MAP_SYNC 0
+#define MAP_SHARED_VALIDATE 0
+#else
+#include <asm-generic/mman.h>
+#include <asm-generic/mman-common.h>
+#endif /* HAVE_MAP_SYNC */
+
mmap_region_t *maptable;
int mapcount;
mmap_region_t *mapping;
|