diff --git a/performance_counters.c b/performance_counters.c index 97e9ec9366..002222ef5c 100644 --- a/performance_counters.c +++ b/performance_counters.c @@ -17,6 +17,12 @@ #include #include +#ifdef _WIN32 +#include +#else +#include +#endif + #include #include "performance_counters.h" @@ -31,10 +37,6 @@ #define PERF_LOG_FMT "[PERF]: Avg (%s): %llu ticks, %llu runs.\n" #endif -#if !defined(_WIN32) && !defined(RARCH_CONSOLE) -#include -#endif - static struct retro_perf_counter *perf_counters_rarch[MAX_COUNTERS]; static struct retro_perf_counter *perf_counters_libretro[MAX_COUNTERS]; static unsigned perf_ptr_rarch;