From 6ff844e7c410fec8bc3fb20865c21f073f81e75c Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 22 Jan 2011 10:10:03 +0000 Subject: (svn r21887) -Fix-ish: some headers weren't including the headers they depend on --- src/network/core/tcp_admin.h | 4 ++-- src/newgrf_industrytiles.h | 1 + src/road_gui.h | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/network/core/tcp_admin.h b/src/network/core/tcp_admin.h index 1d15f398a..7f875c155 100644 --- a/src/network/core/tcp_admin.h +++ b/src/network/core/tcp_admin.h @@ -390,8 +390,8 @@ public: 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 */ diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h index 8526a1f53..443f5b533 100644 --- 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); diff --git a/src/road_gui.h b/src/road_gui.h index a2c1ae6b2..c56443c37 100644 --- 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(); -- cgit v1.2.3-70-g09d2