From 2c4d3e7768210d653309db08bca6884df3b744ae Mon Sep 17 00:00:00 2001 From: Raf <> Date: Fri, 9 Aug 2024 05:02:27 +0800 Subject: [PATCH] portx64: fixed linux build --- port/src/preprocess/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/port/src/preprocess/common.h b/port/src/preprocess/common.h index b75c6517f..4d2e6715d 100644 --- a/port/src/preprocess/common.h +++ b/port/src/preprocess/common.h @@ -6,11 +6,19 @@ #include #include +#ifdef PLATFORM_WIN32 + #include // this BS comes from windows.h #undef near #undef far +#else + +#include + +#endif + #include #include