fix: Missing includes on Linux and Mac

This commit is contained in:
WerWolv 2021-12-12 13:42:01 +01:00
parent d1ce8a5f9b
commit b372d20ab0
1 changed files with 7 additions and 5 deletions

View File

@ -6,15 +6,17 @@
#include <filesystem>
#if defined (OS_LINUX)
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#define lseek lseek64
#endif
#if defined (OS_MACOS)
#include <sys/types.h>
#elif defined (OS_MACOS)
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#endif
namespace hex::plugin::builtin::prv {