mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Fix clang builds
Redeclaring the same typedef is not legal in C < 11, but a forward-declaration works just fine for having a pointer to struct. No changes needed in .cpp, as it includes the `typedef` from `object.h` (via `scenario.h`).
This commit is contained in:
committed by
Ted John
parent
f776527a2b
commit
00c47b8a04
@@ -25,11 +25,10 @@
|
||||
#include "../ride/track_design.h"
|
||||
#include "../ride/vehicle.h"
|
||||
#include "../scenario.h"
|
||||
#include "../ScenarioRepository.h"
|
||||
#include "../world/park.h"
|
||||
#include "colour.h"
|
||||
|
||||
typedef struct scenario_index_entry scenario_index_entry;
|
||||
|
||||
struct rct_window;
|
||||
union rct_window_event;
|
||||
extern uint16 TextInputDescriptionArgs[4];
|
||||
|
||||
Reference in New Issue
Block a user