From 3214cac8a6ac02072ddc07ddb0d548b387eca03f Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 10 Sep 2023 14:37:48 +0200 Subject: [PATCH] Try to fix windows includes. --- platform/windows/sub_process_windows.cpp | 2 -- platform/windows/sub_process_windows.h | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/windows/sub_process_windows.cpp b/platform/windows/sub_process_windows.cpp index f15d9a54f..0bc3ab747 100644 --- a/platform/windows/sub_process_windows.cpp +++ b/platform/windows/sub_process_windows.cpp @@ -30,8 +30,6 @@ #include "sub_process_windows.h" -#include - Error SubProcessWindows::start() { if (_executable_path.empty()) { return ERR_FILE_BAD_PATH; diff --git a/platform/windows/sub_process_windows.h b/platform/windows/sub_process_windows.h index 7bcf5d23b..dbf4beabb 100644 --- a/platform/windows/sub_process_windows.h +++ b/platform/windows/sub_process_windows.h @@ -33,9 +33,11 @@ #include "core/os/sub_process.h" +#include #define WIN32_LEAN_AND_MEAN #include -#include + +typedef HANDLE(WINAPI *WTOpenPtr)(HWND p_window, LOGCONTEXTW *p_ctx, BOOL p_enable); class SubProcessWindows : public SubProcess { public: