foxygit / doom Log in
commit df49602893b3bbe625dfc757949b93ea6b7339e0
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Fri Oct 16 18:10:30 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Fri Oct 16 18:10:30 2009 +0000

    Fix compilation under MSVC (thanks entryway).

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1717
---
 msvc/ChocolateDoom.vcproj | 40 ++++++++++++++++++++++++++++++++++++++++
 setup/mainmenu.c          |  1 +
 2 files changed, 41 insertions(+)

diff --git a/msvc/ChocolateDoom.vcproj b/msvc/ChocolateDoom.vcproj
index 6302ac86..5e01a47d 100644
--- a/msvc/ChocolateDoom.vcproj
+++ b/msvc/ChocolateDoom.vcproj
@@ -9631,6 +9631,46 @@
 					/>
 				</FileConfiguration>
 			</File>
+			<File
+				RelativePath="..\textscreen\txt_scrollpane.c"
+				>
+				<FileConfiguration
+					Name="Debug Server|Win32"
+					ExcludedFromBuild="true"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release Server|Win32"
+					ExcludedFromBuild="true"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\textscreen\txt_scrollpane.h"
+				>
+				<FileConfiguration
+					Name="Debug Server|Win32"
+					ExcludedFromBuild="true"
+					>
+					<Tool
+						Name="VCCustomBuildTool"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release Server|Win32"
+					ExcludedFromBuild="true"
+					>
+					<Tool
+						Name="VCCustomBuildTool"
+					/>
+				</FileConfiguration>
+			</File>
 		</Filter>
 	</Files>
 	<Globals>
diff --git a/setup/mainmenu.c b/setup/mainmenu.c
index ba85ca1f..4ad1ac02 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -19,6 +19,7 @@
 // 02111-1307, USA.
 //

+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>