Common: Fix FileUtil includes, and everything relying on those.
This commit is contained in:
parent
79aa1b0808
commit
8cf9eb7f43
10 changed files with 21 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue