summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();