diff options
author | rubidium <rubidium@openttd.org> | 2009-08-09 18:44:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-09 18:44:35 +0000 |
commit | ca0eb1d4eff10dcfb4fb463d0cdde4a88cc183da (patch) | |
tree | 967af6c152126add0f1a126705b8be104da09830 /src | |
parent | 2ae1c062cec2f47df0ad377dbb38983ef7d8cfd9 (diff) | |
download | openttd-ca0eb1d4eff10dcfb4fb463d0cdde4a88cc183da.tar.xz |
(svn r17135) -Fix (r17133): some (older) GCCs failed to compile
Diffstat (limited to 'src')
-rw-r--r-- | src/base_media_base.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base_media_base.h b/src/base_media_base.h index e5e2d5171..74185c72b 100644 --- a/src/base_media_base.h +++ b/src/base_media_base.h @@ -7,6 +7,10 @@ #include "fileio_func.h" +/* Forward declare these; can't do 'struct X' in functions as older GCCs barf on that */ +struct IniFile; +struct ContentInfo; + /** Structure holding filename and MD5 information about a single file */ struct MD5File { const char *filename; ///< filename @@ -67,7 +71,7 @@ struct BaseSet { * @param path the path to this ini file (for filenames) * @return true if loading was successful. */ - bool FillSetDetails(struct IniFile *ini, const char *path); + bool FillSetDetails(IniFile *ini, const char *path); }; /** @@ -149,7 +153,7 @@ public: * @param md5sum whether to check the MD5 checksum * @return true iff we have an set matching. */ - static bool HasSet(const struct ContentInfo *ci, bool md5sum); + static bool HasSet(const ContentInfo *ci, bool md5sum); }; |