summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-02-03 15:10:59 +0100
committerLioncash <mathew1800@gmail.com>2020-02-03 15:13:40 +0100
commit36524465a6fb9940ab5297cef21cd2aa6de8e239 (patch)
treeb924ccc0b9352d0f2eb79737af8cffdeba851353 /src/input_common
parentinput_common/udp: Add missing header guard (diff)
downloadyuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar.gz
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar.bz2
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar.lz
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar.xz
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.tar.zst
yuzu-36524465a6fb9940ab5297cef21cd2aa6de8e239.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/udp/client.h1
-rw-r--r--src/input_common/udp/protocol.h1
-rw-r--r--src/input_common/udp/udp.cpp4
-rw-r--r--src/input_common/udp/udp.h6
4 files changed, 4 insertions, 8 deletions
diff --git a/src/input_common/udp/client.h b/src/input_common/udp/client.h
index 0b21f4da6..b8c654755 100644
--- a/src/input_common/udp/client.h
+++ b/src/input_common/udp/client.h
@@ -11,7 +11,6 @@
#include <string>
#include <thread>
#include <tuple>
-#include <vector>
#include "common/common_types.h"
#include "common/thread.h"
#include "common/vector_math.h"
diff --git a/src/input_common/udp/protocol.h b/src/input_common/udp/protocol.h
index 1b521860a..3ba4d1fc8 100644
--- a/src/input_common/udp/protocol.h
+++ b/src/input_common/udp/protocol.h
@@ -7,7 +7,6 @@
#include <array>
#include <optional>
#include <type_traits>
-#include <vector>
#include <boost/crc.hpp>
#include "common/bit_field.h"
#include "common/swap.h"
diff --git a/src/input_common/udp/udp.cpp b/src/input_common/udp/udp.cpp
index a80f38614..49a747327 100644
--- a/src/input_common/udp/udp.cpp
+++ b/src/input_common/udp/udp.cpp
@@ -2,7 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include "common/logging/log.h"
+#include <mutex>
+#include <tuple>
+
#include "common/param_package.h"
#include "core/frontend/input.h"
#include "core/settings.h"
diff --git a/src/input_common/udp/udp.h b/src/input_common/udp/udp.h
index 0e56e431b..4f83f0441 100644
--- a/src/input_common/udp/udp.h
+++ b/src/input_common/udp/udp.h
@@ -5,14 +5,10 @@
#pragma once
#include <memory>
-#include <unordered_map>
-#include "input_common/main.h"
-#include "input_common/udp/client.h"
namespace InputCommon::CemuhookUDP {
-class UDPTouchDevice;
-class UDPMotionDevice;
+class Client;
class State {
public: