diff --git a/src/runtime/thread.cpp b/src/runtime/thread.cpp index 6aab3fbc6d17..cd53bae6adfd 100644 --- a/src/runtime/thread.cpp +++ b/src/runtime/thread.cpp @@ -9,6 +9,9 @@ Author: Leonardo de Moura #include #ifdef LEAN_WINDOWS #include +# ifdef LEAN_AUTO_THREAD_FINALIZATION +#include +# endif #else #include #endif