소스 검색

Windows: Appease capricious MSVC versions with moody headers

Fixes #37799.
Fixes #37986.

(cherry picked from commit 4d3a18d9ff7db4570fedcc2f89354c41c31b9513)
Rémi Verschelde 5 년 전
부모
커밋
1d2aa22438
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      platform/windows/crash_handler_win.cpp

+ 3 - 1
platform/windows/crash_handler_win.cpp

@@ -34,9 +34,11 @@
 
 // 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 <psapi.h>
 
 #pragma comment(lib, "psapi.lib")
 #pragma comment(lib, "dbghelp.lib")