Fix compiler errors, add ctype.h in required source files

This commit is contained in:
Ted John 2017-06-11 23:43:28 +01:00
parent 36cfc1bb29
commit 902bba6906
3 changed files with 6 additions and 7 deletions

View File

@ -16,14 +16,17 @@
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__)
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fnmatch.h>
#include <fts.h>
#include <libgen.h>
#include <locale.h>
#include <pwd.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <pwd.h>
#include <time.h>
#include "../config/Config.h"
#include "../localisation/date.h"
@ -31,12 +34,6 @@
#include "../OpenRCT2.h"
#include "../util/util.h"
#include "platform.h"
#include <dirent.h>
#include <sys/time.h>
#include <time.h>
#include <fts.h>
#include <sys/file.h>
// The name of the mutex used to prevent multiple instances of the game from running
#define SINGLE_INSTANCE_MUTEX_NAME "openrct2.lock"

View File

@ -14,6 +14,7 @@
*****************************************************************************/
#pragma endregion
#include <ctype.h>
#include <time.h>
#include "../common.h"
#include "../core/Guard.hpp"

View File

@ -16,6 +16,7 @@
#pragma warning(disable : 4295) // 'identifier': array is too small to include a terminating null character
#include <ctype.h>
#include "../audio/audio.h"
#include "../config/Config.h"
#include "../Context.h"