(svn r21887) -Fix-ish: some headers weren't including the headers they depend on

This commit is contained in:
rubidium 2011-01-22 10:10:03 +00:00
parent eb299736c1
commit 6ff844e7c4
3 changed files with 5 additions and 2 deletions

View File

@ -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 */

View File

@ -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);

View File

@ -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();