diff options
Diffstat (limited to 'src/common/profiler.cpp')
| -rw-r--r-- | src/common/profiler.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/common/profiler.cpp b/src/common/profiler.cpp index cf6b6b258..7792edd2f 100644 --- a/src/common/profiler.cpp +++ b/src/common/profiler.cpp | |||
| @@ -2,13 +2,18 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 6 | #include <cstddef> | ||
| 7 | #include <vector> | ||
| 8 | |||
| 9 | #include "common/assert.h" | ||
| 5 | #include "common/profiler.h" | 10 | #include "common/profiler.h" |
| 6 | #include "common/profiler_reporting.h" | 11 | #include "common/profiler_reporting.h" |
| 7 | #include "common/assert.h" | 12 | #include "common/synchronized_wrapper.h" |
| 8 | 13 | ||
| 9 | #if defined(_MSC_VER) && _MSC_VER <= 1800 // MSVC 2013. | 14 | #if defined(_MSC_VER) && _MSC_VER <= 1800 // MSVC 2013. |
| 10 | #define WIN32_LEAN_AND_MEAN | 15 | #define WIN32_LEAN_AND_MEAN |
| 11 | #include <Windows.h> // For QueryPerformanceCounter/Frequency | 16 | #include <Windows.h> // For QueryPerformanceCounter/Frequency |
| 12 | #endif | 17 | #endif |
| 13 | 18 | ||
| 14 | namespace Common { | 19 | namespace Common { |