changeset 17149:8202130d7644 draft

(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
author rubidium <rubidium@openttd.org>
date Sat, 22 Jan 2011 10:10:03 +0000
parents 848eb1ffb17d
children 47d33cf95c70
files src/network/core/tcp_admin.h src/newgrf_industrytiles.h src/road_gui.h
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/core/tcp_admin.h
+++ b/src/network/core/tcp_admin.h
@@ -390,8 +390,8 @@
 
 	NetworkRecvStatus ReceivePackets();
 
-	const char *ReceiveCommand(Packet *p, CommandPacket *cp);
-	void SendCommand(Packet *p, const CommandPacket *cp);
+	const char *ReceiveCommand(Packet *p, struct CommandPacket *cp);
+	void SendCommand(Packet *p, const struct CommandPacket *cp);
 };
 
 #endif /* ENABLE_NETWORK */
--- a/src/newgrf_industrytiles.h
+++ b/src/newgrf_industrytiles.h
@@ -16,6 +16,7 @@
 #include "industry_type.h"
 #include "newgrf_animation_type.h"
 #include "newgrf_callbacks.h"
+#include "newgrf_industries.h"
 #include "core/random_func.hpp"
 
 bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
--- a/src/road_gui.h
+++ b/src/road_gui.h
@@ -13,6 +13,8 @@
 #define ROAD_GUI_H
 
 #include "road_type.h"
+#include "tile_type.h"
+#include "direction_type.h"
 
 struct Window *ShowBuildRoadToolbar(RoadType roadtype);
 struct Window *ShowBuildRoadScenToolbar();