diff --git a/3rdparty/pine/pine_server.h b/3rdparty/pine/pine_server.h index d3cb323cbd..44f2ab7087 100644 --- a/3rdparty/pine/pine_server.h +++ b/3rdparty/pine/pine_server.h @@ -27,10 +27,8 @@ #include #include #include -#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #endif -#endif #ifdef _WIN32 constexpr SOCKET invalid_socket = INVALID_SOCKET; diff --git a/Utilities/JITASM.cpp b/Utilities/JITASM.cpp index 2eef415ca9..593add58f0 100644 --- a/Utilities/JITASM.cpp +++ b/Utilities/JITASM.cpp @@ -10,6 +10,7 @@ #include "util/simd.hpp" #ifdef __linux__ +#include #define CAN_OVERCOMMIT #endif diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index a81117e2d0..8e536c0541 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -46,6 +46,7 @@ DYNAMIC_IMPORT_RENAME("Kernel32.dll", SetThreadDescriptionImport, "SetThreadDesc #include #endif #ifdef __linux__ +#include #include #include #endif