diff --git a/lib/lwres/win32/liblwres.dsp.in b/lib/lwres/win32/liblwres.dsp.in
index f4d54fa1a6..c17504d112 100644
--- a/lib/lwres/win32/liblwres.dsp.in
+++ b/lib/lwres/win32/liblwres.dsp.in
@@ -94,6 +94,10 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
+SOURCE=..\compat.c
+# End Source File
+# Begin Source File
+
SOURCE=..\context.c
# End Source File
# Begin Source File
@@ -232,6 +236,14 @@ SOURCE=.\include\lwres\platform.h
SOURCE=..\include\lwres\result.h
# End Source File
+# Begin Source File
+
+SOURCE=..\include\lwres\stdlib.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\lwres\string.h
+# End Source File
# End Group
# Begin Group "Resource Files"
diff --git a/lib/lwres/win32/liblwres.mak.in b/lib/lwres/win32/liblwres.mak.in
index 075ffcce2d..6c52248f4d 100644
--- a/lib/lwres/win32/liblwres.mak.in
+++ b/lib/lwres/win32/liblwres.mak.in
@@ -363,6 +363,24 @@ LINK32_OBJS= \
!IF "$(CFG)" == "liblwres - @PLATFORM@ Release" || "$(CFG)" == "liblwres - @PLATFORM@ Debug"
+SOURCE=..\compat.c
+
+!IF "$(CFG)" == "liblwres - @PLATFORM@ Release"
+
+
+"$(INTDIR)\compat.obj" : $(SOURCE) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+!ELSEIF "$(CFG)" == "liblwres - @PLATFORM@ Debug"
+
+
+"$(INTDIR)\compat.obj" "$(INTDIR)\compat.sbr" : $(SOURCE) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+!ENDIF
+
SOURCE=..\context.c
!IF "$(CFG)" == "liblwres - @PLATFORM@ Release"
diff --git a/lib/lwres/win32/liblwres.vcxproj.filters.in b/lib/lwres/win32/liblwres.vcxproj.filters.in
index 4b7fed6bc8..4343d84d74 100644
--- a/lib/lwres/win32/liblwres.vcxproj.filters.in
+++ b/lib/lwres/win32/liblwres.vcxproj.filters.in
@@ -30,6 +30,9 @@
Source Files
+
+ Source Files
+
Source Files
@@ -122,5 +125,11 @@
Header Files
+
+ Header Files
+
+
+ Header Files
+
-
\ No newline at end of file
+
diff --git a/lib/lwres/win32/liblwres.vcxproj.in b/lib/lwres/win32/liblwres.vcxproj.in
index f21998c5da..eb3436d29a 100644
--- a/lib/lwres/win32/liblwres.vcxproj.in
+++ b/lib/lwres/win32/liblwres.vcxproj.in
@@ -105,6 +105,7 @@
+
@@ -137,6 +138,8 @@
+
+
@@ -145,4 +148,4 @@
-
\ No newline at end of file
+