| 1 |
diff --git a/thirdparty/mingw-std-threads/mingw.condition_variable.h b/thirdparty/mingw-std-threads/mingw.condition_variable.h |
| 2 |
index d099fad2ec..d2982fb087 100644 |
| 3 |
--- a/thirdparty/mingw-std-threads/mingw.condition_variable.h |
| 4 |
+++ b/thirdparty/mingw-std-threads/mingw.condition_variable.h |
| 5 |
@@ -29,6 +29,7 @@ |
| 6 |
|
| 7 |
#include <cassert> |
| 8 |
#include <chrono> |
| 9 |
+#include <exception> |
| 10 |
#include <system_error> |
| 11 |
|
| 12 |
#include <sdkddkver.h> // Detect Windows version. |
| 13 |
diff --git a/thirdparty/mingw-std-threads/mingw.mutex.h b/thirdparty/mingw-std-threads/mingw.mutex.h |
| 14 |
index 1e881e6c7d..d9802ea2ae 100644 |
| 15 |
--- a/thirdparty/mingw-std-threads/mingw.mutex.h |
| 16 |
+++ b/thirdparty/mingw-std-threads/mingw.mutex.h |
| 17 |
@@ -37,6 +37,7 @@ |
| 18 |
#include <chrono> |
| 19 |
#include <system_error> |
| 20 |
#include <atomic> |
| 21 |
+#include <exception> |
| 22 |
#include <mutex> //need for call_once() |
| 23 |
|
| 24 |
#if STDMUTEX_RECURSION_CHECKS || !defined(NDEBUG) |