diff --git a/drivers/windows/thread_windows.cpp b/drivers/windows/thread_windows.cpp index 434f2e8fdac..884575e81ec 100644 --- a/drivers/windows/thread_windows.cpp +++ b/drivers/windows/thread_windows.cpp @@ -31,7 +31,7 @@ #if defined(WINDOWS_ENABLED) && !defined(WINRT_ENABLED) #include "os/memory.h" -#include "script_language.h" + Thread::ID ThreadWindows::get_ID() const { diff --git a/drivers/windows/thread_windows.h b/drivers/windows/thread_windows.h index b051bfe370e..1c90504ddef 100644 --- a/drivers/windows/thread_windows.h +++ b/drivers/windows/thread_windows.h @@ -36,6 +36,7 @@ #ifdef WINDOWS_ENABLED #include "os/thread.h" +#include "script_language.h" #include class ThreadWindows : public Thread {