summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-26 22:27:04 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-04-26 22:27:04 +0200
commit4d3a18d9ff7db4570fedcc2f89354c41c31b9513 (patch)
treebdaa54bb7758d4d314c0a7f0b7c75831785781cb /platform
parent5f645e5d84b73fbf7ff83137d3d0a5f7408c3ba6 (diff)
Windows: Appease capricious MSVC versions with moody headers
Fixes #37799. Fixes #37986.
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/crash_handler_windows.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/windows/crash_handler_windows.cpp b/platform/windows/crash_handler_windows.cpp
index 1d9eba22d8..996d9722f5 100644
--- a/platform/windows/crash_handler_windows.cpp
+++ b/platform/windows/crash_handler_windows.cpp
@@ -38,11 +38,13 @@
// Backtrace code code based on: https://stackoverflow.com/questions/6205981/windows-c-stack-trace-from-a-running-app
-#include <psapi.h>
#include <algorithm>
#include <iterator>
+#include <string>
#include <vector>
+#include <psapi.h>
+
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "dbghelp.lib")