diff --git a/pcsx2/CDVD/CompressedFileReader.cpp b/pcsx2/CDVD/CompressedFileReader.cpp
index cae241cade..b72cdd286a 100644
--- a/pcsx2/CDVD/CompressedFileReader.cpp
+++ b/pcsx2/CDVD/CompressedFileReader.cpp
@@ -16,7 +16,7 @@
#include "PrecompiledHeader.h"
#include "AsyncFileReader.h"
-#include "zlib_indexed.c"
+#include "zlib_indexed.h"
/////////// Some complementary utilities for zlib_indexed.c //////////
diff --git a/pcsx2/CDVD/zlib_indexed.c b/pcsx2/CDVD/zlib_indexed.h
similarity index 100%
rename from pcsx2/CDVD/zlib_indexed.c
rename to pcsx2/CDVD/zlib_indexed.h
diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
index ef3ae775a6..4c07b87c4c 100644
--- a/pcsx2/CMakeLists.txt
+++ b/pcsx2/CMakeLists.txt
@@ -231,14 +231,14 @@ set(pcsx2Headers
# CDVD sources
set(pcsx2CDVDSources
- CDVD/BlockdumpFileReader.cpp
+ CDVD/BlockdumpFileReader.cpp
CDVD/CdRom.cpp
CDVD/CDVDaccess.cpp
CDVD/CDVD.cpp
CDVD/CDVDisoReader.cpp
- CDVD/InputIsoFile.cpp
- CDVD/OutputIsoFile.cpp
- CDVD/CompressedFileReader.cpp
+ CDVD/InputIsoFile.cpp
+ CDVD/OutputIsoFile.cpp
+ CDVD/CompressedFileReader.cpp
CDVD/IsoFS/IsoFile.cpp
CDVD/IsoFS/IsoFSCDVD.cpp
CDVD/IsoFS/IsoFS.cpp
@@ -251,6 +251,7 @@ set(pcsx2CDVDHeaders
CDVD/CDVD.h
CDVD/CDVD_internal.h
CDVD/CDVDisoReader.h
+ CDVD/zlib_indexed.h
CDVD/IsoFileFormats.h
CDVD/IsoFS/IsoDirectory.h
CDVD/IsoFS/IsoFileDescriptor.h
diff --git a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj
index 07fbee6005..b9e5e34652 100644
--- a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj
+++ b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj
@@ -408,7 +408,6 @@
-
@@ -696,6 +695,7 @@
+
diff --git a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj.filters b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj.filters
index 50f26855b8..bb0ca63bdd 100644
--- a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj.filters
+++ b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj.filters
@@ -856,9 +856,6 @@
System\ISO
-
- System\ISO
-
@@ -1270,6 +1267,9 @@
AppHost\Debugger
+
+ System\ISO
+