Fix mingw builds

This commit is contained in:
Ted John 2017-06-12 17:13:18 +01:00
parent 902bba6906
commit 407e99bbc2
2 changed files with 3 additions and 9 deletions

View File

@ -19,15 +19,8 @@
#include "../common.h" #include "../common.h"
#ifdef __WINDOWS__ typedef struct TTFFontDescriptor TTFFontDescriptor;
#include "../rct2.h" typedef struct rct2_install_info rct2_install_info;
#ifndef HAVE_MATH_H
#define HAVE_MATH_H
#endif
#endif // __WINDOWS__
#include "../core/textinputbuffer.h"
#include "../drawing/font.h"
#ifndef MAX_PATH #ifndef MAX_PATH
#define MAX_PATH 260 #define MAX_PATH 260

View File

@ -34,6 +34,7 @@
#include "../localisation/date.h" #include "../localisation/date.h"
#include "../localisation/language.h" #include "../localisation/language.h"
#include "../OpenRCT2.h" #include "../OpenRCT2.h"
#include "../rct2.h"
#include "../util/util.h" #include "../util/util.h"
#include "../Version.h" #include "../Version.h"
#include "platform.h" #include "platform.h"