summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-06-12 17:31:41 +0200
committerLéo Lam <leo@innovatetechnologi.es>2016-06-25 13:46:53 +0200
commitd3e2ae35ff853d115aca077eaa10b88114ef7c7c (patch)
treeef48e2c922c685a99fbfe602b408623475092763 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parentfd29e5c4cc26cd853a03ac7b0e08b367b7070c84 (diff)
ControllerInterface: Add synchronisation
Since we may have to add/access devices from different threads, this adds synchronisation to anything that touches m_devices.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index 3d1354dcc7..2571e5f3ab 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -6,6 +6,7 @@
#include <algorithm>
#include <map>
+#include <mutex>
#include <sstream>
#include <string>
#include <vector>