diff --git a/dists/msvc9/residual.vcproj b/dists/msvc9/residual.vcproj
index 5e247778e93..6e1be64dc00 100644
--- a/dists/msvc9/residual.vcproj
+++ b/dists/msvc9/residual.vcproj
@@ -70,6 +70,7 @@
IgnoreDefaultLibraryNames="libcmt"
GenerateDebugInformation="true"
SubSystem="1"
+ EntryPointSymbol="WinMainCRTStartup"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
@@ -157,6 +158,7 @@
OptimizeReferences="2"
EnableCOMDATFolding="2"
LinkTimeCodeGeneration="0"
+ EntryPointSymbol="WinMainCRTStartup"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
@@ -190,6 +192,14 @@
+
+
+
+
@@ -198,10 +208,30 @@
RelativePath="..\..\common\debug.h"
>
+
+
+
+
+
+
+
+
+
+
@@ -222,6 +252,18 @@
RelativePath="..\..\common\matrix4.h"
>
+
+
+
+
+
+
@@ -235,7 +277,11 @@
>
+
+
+
+
+
+
+
+
+#undef ARRAYSIZE
+#endif
+
#include "common/sys.h"
#include "common/endian.h"
#include "common/util.h"
@@ -54,8 +59,6 @@ extern Imuse *g_imuse;
#ifdef _WIN32
-#include
-
extern WIN32_FIND_DATAA g_find_file_data;
extern HANDLE g_searchFile;
extern bool g_firstFind;