diff --git a/pcsx2/Linux/pcsx2.cbp b/pcsx2/Linux/pcsx2.cbp
index 43cc32e28b..eccbd7c936 100644
--- a/pcsx2/Linux/pcsx2.cbp
+++ b/pcsx2/Linux/pcsx2.cbp
@@ -325,9 +325,7 @@
-
-
@@ -348,6 +346,7 @@
+
diff --git a/pcsx2/RecoverySystem.cpp b/pcsx2/RecoverySystem.cpp
index 71cc88a048..21e96729ad 100644
--- a/pcsx2/RecoverySystem.cpp
+++ b/pcsx2/RecoverySystem.cpp
@@ -24,7 +24,9 @@
class _BaseStateThread;
+#ifndef __LINUX__
template EventSource;
+#endif
static EventSource m_evtsrc_SaveState;
// Used to hold the current state backup (fullcopy of PS2 memory and plugin states).