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

@ -26,13 +26,14 @@
// - Zero backwards/forwards compatibility
// - Serialization code for anything complex has to be manually written.
#include <map>
#include <vector>
#include <cstring>
#include <deque>
#include <string>
#include <list>
#include <map>
#include <set>
#include <string>
#include <type_traits>
#include <vector>
#include "common/common_types.h"
#include "common/file_util.h"

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>

View File

@ -6,13 +6,12 @@
#include <array>
#include <fstream>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>
#include "common/common_types.h"
#include "common/string_util.h"
// User directory indices for GetUserPath
enum {

View File

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <sstream>
#include <string>
#include <vector>

View File

@ -9,6 +9,7 @@
#include "common/assert.h"
#include "common/chunk_file.h"
#include "common/string_util.h"
#include "core/arm/arm_interface.h"
#include "core/core.h"

View File

@ -8,6 +8,7 @@
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_extsavedata.h"
#include "core/file_sys/disk_archive.h"

View File

@ -8,6 +8,7 @@
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_savedata.h"
#include "core/file_sys/disk_archive.h"

View File

@ -5,6 +5,7 @@
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_savedatacheck.h"
#include "core/hle/service/fs/archive.h"

View File

@ -7,6 +7,7 @@
#include "common/common_types.h"
#include "common/file_util.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_systemsavedata.h"
#include "core/hle/service/fs/archive.h"

View File

@ -6,6 +6,7 @@
#include "common/logging/log.h"
#include "common/make_unique.h"
#include "common/string_util.h"
#include "core/file_sys/archive_romfs.h"
#include "core/hle/kernel/process.h"