diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -1320,6 +1320,10 @@
>
+
+
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -1317,6 +1317,10 @@
>
+
+
diff --git a/source.list b/source.list
--- a/source.list
+++ b/source.list
@@ -239,6 +239,7 @@ roadstop_base.h
roadveh.h
screenshot.h
sdl.h
+smallmap_gui.h
sound/sdl_s.h
video/sdl_v.h
settings_func.h
diff --git a/src/gui.h b/src/gui.h
--- a/src/gui.h
+++ b/src/gui.h
@@ -64,7 +64,6 @@ void ShowSubsidiesList();
void ShowEstimatedCostOrIncome(Money cost, int x, int y);
void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, int x, int y, bool no_timeout = false);
-void ShowSmallMap();
void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
void BuildFileList();
diff --git a/src/industry.h b/src/industry.h
--- a/src/industry.h
+++ b/src/industry.h
@@ -84,8 +84,6 @@ void PlantRandomFarmField(const Industry
void ReleaseDisastersTargetingIndustry(IndustryID);
-/* smallmap_gui.cpp */
-void BuildIndustriesLegend();
/* industry_cmd.cpp */
void SetIndustryDailyChanges();
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -45,6 +45,7 @@
#include