summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-22 10:10:03 +0000
committerrubidium <rubidium@openttd.org>2011-01-22 10:10:03 +0000
commit6ff844e7c410fec8bc3fb20865c21f073f81e75c (patch)
treec0bb5750f896c21fcc30a844f7e7c2f608c4ac11
parenteb299736c1bcb277da1862afe95c11cb897effcf (diff)
downloadopenttd-6ff844e7c410fec8bc3fb20865c21f073f81e75c.tar.xz
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
-rw-r--r--src/network/core/tcp_admin.h4
-rw-r--r--src/newgrf_industrytiles.h1
-rw-r--r--src/road_gui.h2
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();