diff options
Diffstat (limited to 'ext4_utils/ext4fixup.c')
-rw-r--r-- | ext4_utils/ext4fixup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext4_utils/ext4fixup.c b/ext4_utils/ext4fixup.c index 5e04602a..c664ac3a 100644 --- a/ext4_utils/ext4fixup.c +++ b/ext4_utils/ext4fixup.c @@ -24,10 +24,13 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/types.h> -#include <sys/mman.h> #include <fcntl.h> #include <unistd.h> +#ifndef USE_MINGW +#include <sys/mman.h> +#endif + #if defined(__APPLE__) && defined(__MACH__) #define lseek64 lseek #define off64_t off_t |