summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-21 00:36:19 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 01:36:53 +0200
commit3a771a13dcfd1de061e886e081393fca1fd1e689 (patch)
treefc407932a6d1f859e57a61b86bd3820fc960baf4 /src/common
parentCommon: Cleanup thread includes. (diff)
downloadyuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar.gz
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar.bz2
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar.lz
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar.xz
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.tar.zst
yuzu-3a771a13dcfd1de061e886e081393fca1fd1e689.zip
Diffstat (limited to '')
-rw-r--r--src/common/assert.h1
-rw-r--r--src/common/profiler.cpp11
-rw-r--r--src/common/profiler_reporting.h4
-rw-r--r--src/common/synchronized_wrapper.h1
4 files changed, 10 insertions, 7 deletions
diff --git a/src/common/assert.h b/src/common/assert.h
index 7b7d8bf28..6849778b7 100644
--- a/src/common/assert.h
+++ b/src/common/assert.h
@@ -4,7 +4,6 @@
#pragma once
-#include <cstdio>
#include <cstdlib>
#include "common/common_funcs.h"
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 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <algorithm>
+#include <cstddef>
+#include <vector>
+
+#include "common/assert.h"
#include "common/profiler.h"
#include "common/profiler_reporting.h"
-#include "common/assert.h"
+#include "common/synchronized_wrapper.h"
#if defined(_MSC_VER) && _MSC_VER <= 1800 // MSVC 2013.
-#define WIN32_LEAN_AND_MEAN
-#include <Windows.h> // For QueryPerformanceCounter/Frequency
+ #define WIN32_LEAN_AND_MEAN
+ #include <Windows.h> // For QueryPerformanceCounter/Frequency
#endif
namespace Common {
diff --git a/src/common/profiler_reporting.h b/src/common/profiler_reporting.h
index 3abb73315..ab60cfb16 100644
--- a/src/common/profiler_reporting.h
+++ b/src/common/profiler_reporting.h
@@ -4,10 +4,8 @@
#pragma once
-#include <array>
#include <chrono>
-#include <mutex>
-#include <utility>
+#include <cstddef>
#include <vector>
#include "common/profiler.h"
diff --git a/src/common/synchronized_wrapper.h b/src/common/synchronized_wrapper.h
index 946252b8c..ae5e8b1ed 100644
--- a/src/common/synchronized_wrapper.h
+++ b/src/common/synchronized_wrapper.h
@@ -4,6 +4,7 @@
#pragma once
+#include <algorithm>
#include <mutex>
namespace Common {