diff --git a/gfx/d3d9/d3d.cpp b/gfx/d3d9/d3d.cpp
index 9013d2ad63..1b2e91fd82 100644
--- a/gfx/d3d9/d3d.cpp
+++ b/gfx/d3d9/d3d.cpp
@@ -21,10 +21,6 @@
#include "../../compat/posix_string.h"
#include "../../performance.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
static bool d3d_frame(void *data, const void *frame,
unsigned width, unsigned height, unsigned pitch,
const char *msg)
diff --git a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters
index 5c18971bc5..5ed48f595a 100644
--- a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters
+++ b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters
@@ -69,9 +69,6 @@
audio
-
- gfx\d3d9
-
gfx\math
@@ -174,6 +171,9 @@
gfx\d3d9
+
+ gfx\d3d9
+