|
|
@@ -3,14 +3,17 @@
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
|
-#include "common/common_funcs.h"
|
|
|
#include "common/logging/log.h"
|
|
|
#include "common/memory_util.h"
|
|
|
-#include "common/string_util.h"
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
-#include <windows.h>
|
|
|
-#include <psapi.h>
|
|
|
+ #include <windows.h>
|
|
|
+ #include <psapi.h>
|
|
|
+ #include "common/common_funcs.h"
|
|
|
+ #include "common/string_util.h"
|
|
|
+#else
|
|
|
+ #include <cstdlib>
|
|
|
+ #include <sys/mman.h>
|
|
|
#endif
|
|
|
|
|
|
#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT)
|