From b372d20ab0ed7feaa7db0b6fc22b47c381ec68a8 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 12 Dec 2021 13:42:01 +0100 Subject: [PATCH] fix: Missing includes on Linux and Mac --- .../source/content/providers/disk_provider.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/builtin/source/content/providers/disk_provider.cpp b/plugins/builtin/source/content/providers/disk_provider.cpp index efafe21e5..3fc776727 100644 --- a/plugins/builtin/source/content/providers/disk_provider.cpp +++ b/plugins/builtin/source/content/providers/disk_provider.cpp @@ -6,15 +6,17 @@ #include #if defined (OS_LINUX) - #include + #include #include + #include + #include #define lseek lseek64 -#endif - -#if defined (OS_MACOS) - #include +#elif defined (OS_MACOS) + #include #include + #include + #include #endif namespace hex::plugin::builtin::prv {