diff --git a/tile.c b/tile.c
index f8641ca985..d52cf460df 100644
--- a/tile.c
+++ b/tile.c
@@ -1,3 +1,4 @@
+#include "stdafx.h"
#include "tile.h"
void SetMapExtraBits(TileIndex tile, byte bits)
diff --git a/ttd.dsp b/ttd.dsp
index 2716cd1682..3f4a8b5dbd 100644
--- a/ttd.dsp
+++ b/ttd.dsp
@@ -341,6 +341,10 @@ SOURCE=.\strings.c
SOURCE=.\texteff.c
# End Source File
+# Begin Source File
+SOURCE=.\tile.c
+# End Source File
+
# Begin Source File
SOURCE=.\ttd.c
# End Source File
@@ -529,6 +533,10 @@ SOURCE=.\station.h
SOURCE=.\StdAfx.h
# End Source File
+# Begin Source File
+SOURCE=.\tile.h
+# End Source File
+
# Begin Source File
SOURCE=.\town.h
# End Source File
diff --git a/ttd.vcproj b/ttd.vcproj
index 7023f7d90f..0718b90dfb 100644
--- a/ttd.vcproj
+++ b/ttd.vcproj
@@ -907,6 +907,9 @@
BasicRuntimeChecks="3"/>
+
+
+
+