diff --git a/Common/Common.vcxproj b/Common/Common.vcxproj
index d3df131541..13782d7a60 100644
--- a/Common/Common.vcxproj
+++ b/Common/Common.vcxproj
@@ -447,6 +447,9 @@
+
+
+
diff --git a/Common/Common.vcxproj.filters b/Common/Common.vcxproj.filters
index a16e2e057a..61b63aee76 100644
--- a/Common/Common.vcxproj.filters
+++ b/Common/Common.vcxproj.filters
@@ -682,6 +682,15 @@
Net
+
+ ext\sol
+
+
+ ext\sol
+
+
+ ext\sol
+
@@ -1416,6 +1425,9 @@
{71e2e5df-5cfb-41e6-97da-f71584a7394e}
+
+ {ec7d8691-bb7f-4689-b66a-cb60c1f48afd}
+
@@ -1469,4 +1481,4 @@
ext\lua
-
\ No newline at end of file
+
diff --git a/ext/sol/sol.hpp b/ext/sol/sol.hpp
index 134a1527ad..f10f236dc6 100644
--- a/ext/sol/sol.hpp
+++ b/ext/sol/sol.hpp
@@ -32,6 +32,12 @@
#ifndef SOL_HPP
#define SOL_HPP
+// Can't use our debug memory handling with this.
+#ifdef new
+#undef new
+#define DBG_MEM
+#endif
+
// beginning of sol/version.hpp
#include
@@ -4412,9 +4418,9 @@ COMPAT53_API void luaL_requiref(lua_State* L, const char* modname, lua_CFunction
#if defined(__cplusplus) && !defined(COMPAT53_LUA_CPP)
extern "C" {
#endif
-#include
-#include
-#include
+#include
+#include
+#include
#if defined(__cplusplus) && !defined(COMPAT53_LUA_CPP)
}
#endif