diff --git a/src/openrct2/windows/Intent.h b/src/openrct2/windows/Intent.h index f7cebc258b..a00e002f3b 100644 --- a/src/openrct2/windows/Intent.h +++ b/src/openrct2/windows/Intent.h @@ -37,7 +37,8 @@ public: Intent * putExtra(uint32 key, utf8string value); }; #else -typedef void Intent; +// Allow C code to use `Intent *` +typedef struct Intent Intent; #endif