mirror of https://github.com/WerWolv/ImHex.git
fix: Missing includes on Linux and Mac
This commit is contained in:
parent
d1ce8a5f9b
commit
b372d20ab0
|
@ -6,15 +6,17 @@
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
#if defined (OS_LINUX)
|
#if defined (OS_LINUX)
|
||||||
#include <sys/types.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#define lseek lseek64
|
#define lseek lseek64
|
||||||
#endif
|
#elif defined (OS_MACOS)
|
||||||
|
#include <fcntl.h>
|
||||||
#if defined (OS_MACOS)
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace hex::plugin::builtin::prv {
|
namespace hex::plugin::builtin::prv {
|
||||||
|
|
Loading…
Reference in New Issue