diff --git a/easy_profiler_core/event_trace_win.cpp b/easy_profiler_core/event_trace_win.cpp index 25ab915..2d4d821 100644 --- a/easy_profiler_core/event_trace_win.cpp +++ b/easy_profiler_core/event_trace_win.cpp @@ -66,7 +66,11 @@ #include "event_trace_win.h" #include + +#ifdef __MINGW32__ #include +#endif + //#include #if EASY_OPTION_LOG_ENABLED != 0 diff --git a/profiler_gui/blocks_tree_widget.cpp b/profiler_gui/blocks_tree_widget.cpp index 4a35859..f9b4755 100644 --- a/profiler_gui/blocks_tree_widget.cpp +++ b/profiler_gui/blocks_tree_widget.cpp @@ -82,9 +82,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif diff --git a/profiler_gui/descriptors_tree_widget.cpp b/profiler_gui/descriptors_tree_widget.cpp index 24505c1..bba73a9 100644 --- a/profiler_gui/descriptors_tree_widget.cpp +++ b/profiler_gui/descriptors_tree_widget.cpp @@ -74,9 +74,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif diff --git a/profiler_gui/tree_widget_loader.cpp b/profiler_gui/tree_widget_loader.cpp index c32e7ae..b3cbaea 100644 --- a/profiler_gui/tree_widget_loader.cpp +++ b/profiler_gui/tree_widget_loader.cpp @@ -60,9 +60,13 @@ #ifdef _WIN32 #include + +#ifdef __MINGW32__ #include #endif +#endif + #ifdef max #undef max #endif