diff --git a/src/conio/conio.dsp b/src/conio/conio.dsp
index 80e46d788294dda27b700b558258a682ca72a6c1..18447f2dbf8bc6ef2ddfd978f39bc6e9485b89c3 100644
--- a/src/conio/conio.dsp
+++ b/src/conio/conio.dsp
@@ -116,5 +116,9 @@ SOURCE=.\win32gdi.c
 
 SOURCE=.\scale.c
 # End Source File
+# Begin Source File
+
+SOURCE=.\xbr.c
+# End Source File
 # End Target
 # End Project
diff --git a/src/conio/conio.vcxproj b/src/conio/conio.vcxproj
index 9f2a0c30d5a499c8c2f7391d07941bd212ad9395..3cd84ae880c945ac96e6eb9ef13b5bdcbbb264bb 100644
--- a/src/conio/conio.vcxproj
+++ b/src/conio/conio.vcxproj
@@ -173,6 +173,12 @@
       <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
     </ClCompile>
+    <ClCompile Include="xbr.c">
+      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\xpdev\xpdev_mt.vcxproj">
diff --git a/src/conio/conio_sdl.dsp b/src/conio/conio_sdl.dsp
index 3b03d895402b217b0df8a0937b73610b493ee72e..395eeb30fe2e1ba5bc13100a480e2337c96bbfa3 100644
--- a/src/conio/conio_sdl.dsp
+++ b/src/conio/conio_sdl.dsp
@@ -124,5 +124,17 @@ SOURCE=.\vidmodes.c
 
 SOURCE=.\win32cio.c
 # End Source File
+# Begin Source File
+
+SOURCE=.\win32gdi.c
+# End Source File
+# Begin Source File
+
+SOURCE=.\scale.c
+# End Source File
+# Begin Source File
+
+SOURCE=.\xbr.c
+# End Source File
 # End Target
 # End Project
diff --git a/src/conio/conio_sdl.vcproj b/src/conio/conio_sdl.vcproj
index 4bbe7a5c4c3cde9ba554e934366ab4d877e278d3..76472d8e685fc540ed2a7505723295c8ec037daf 100644
--- a/src/conio/conio_sdl.vcproj
+++ b/src/conio/conio_sdl.vcproj
@@ -434,6 +434,50 @@
 				/>
 			</FileConfiguration>
 		</File>
+		<File
+			RelativePath="scale.c"
+			>
+			<FileConfiguration
+				Name="Release|Win32"
+				>
+				<Tool
+					Name="VCCLCompilerTool"
+					AdditionalIncludeDirectories=""
+					PreprocessorDefinitions=""
+				/>
+			</FileConfiguration>
+			<FileConfiguration
+				Name="Debug|Win32"
+				>
+				<Tool
+					Name="VCCLCompilerTool"
+					AdditionalIncludeDirectories=""
+					PreprocessorDefinitions=""
+				/>
+			</FileConfiguration>
+		</File>
+		<File
+			RelativePath="xbr.c"
+			>
+			<FileConfiguration
+				Name="Release|Win32"
+				>
+				<Tool
+					Name="VCCLCompilerTool"
+					AdditionalIncludeDirectories=""
+					PreprocessorDefinitions=""
+				/>
+			</FileConfiguration>
+			<FileConfiguration
+				Name="Debug|Win32"
+				>
+				<Tool
+					Name="VCCLCompilerTool"
+					AdditionalIncludeDirectories=""
+					PreprocessorDefinitions=""
+				/>
+			</FileConfiguration>
+		</File>
 	</Files>
 	<Globals>
 	</Globals>
diff --git a/src/conio/conio_sdl.vcxproj b/src/conio/conio_sdl.vcxproj
index e84101f13e96bcd690fc8e3cb3f190e45b4e329f..c179aa3837928e379661caf38a9e0e7b87ce3afc 100644
--- a/src/conio/conio_sdl.vcxproj
+++ b/src/conio/conio_sdl.vcxproj
@@ -150,6 +150,7 @@
       <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
     </ClCompile>
     <ClCompile Include="scale.c" />
+    <ClCompile Include="xbr.c" />
     <ClCompile Include="sdlfuncs.c" />
     <ClCompile Include="sdl_con.c" />
     <ClCompile Include="SDL_win32_main.c" />