Common: Fix FileUtil includes, and everything relying on those.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-20 22:24:01 +01:00
parent 79aa1b0808
commit 8cf9eb7f43
10 changed files with 21 additions and 7 deletions

View file

@ -17,6 +17,8 @@
#include <direct.h> // getcwd
#include <tchar.h>
#include "common/string_util.h"
// 64 bit offsets for windows
#define fseeko _fseeki64
#define ftello _ftelli64
@ -25,8 +27,13 @@
#define fstat64 _fstat64
#define fileno _fileno
#else
#include <sys/param.h>
#include <sys/types.h>
#ifdef __APPLE__
#include <sys/param.h>
#endif
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <dirent.h>
#include <pwd.h>
#include <unistd.h>