From 5b10a3e19d216e0ac1106334c3d658da776acb49 Mon Sep 17 00:00:00 2001 From: Azim Afroozeh Date: Wed, 11 Sep 2024 23:38:56 +0200 Subject: [PATCH] try this --- src/io/mmap.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/io/mmap.cpp b/src/io/mmap.cpp index 3ea6f5e..1b6e62a 100644 --- a/src/io/mmap.cpp +++ b/src/io/mmap.cpp @@ -1,8 +1,12 @@ #include "fls/io/mmap.hpp" #include #include -#include -#include +#if defined(_WIN32) +#include // For Windows memory-mapping +#else +#include // For POSIX memory-mapping +#endif +#include < sys / stat.h> #include namespace fastlanes {