فهرست منبع

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")