summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar archshift2014-09-08 17:16:32 -0700
committerGravatar archshift2014-09-08 17:25:43 -0700
commit9d7cc2bedc55b1d1327645b9c816eea3bcd5d658 (patch)
tree009f6afaf127c8c77730222a5d015b150d7885e2 /src/common/file_util.cpp
parentMerge pull request #95 from lioncash/disassembler (diff)
downloadyuzu-9d7cc2bedc55b1d1327645b9c816eea3bcd5d658.tar.gz
yuzu-9d7cc2bedc55b1d1327645b9c816eea3bcd5d658.tar.xz
yuzu-9d7cc2bedc55b1d1327645b9c816eea3bcd5d658.zip
common: Prune all redundant includes
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index b6ff2e40b..04d222ca1 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -4,9 +4,7 @@
4 4
5 5
6#include "common/common.h" 6#include "common/common.h"
7#include "common/common_paths.h"
8#include "common/file_util.h" 7#include "common/file_util.h"
9#include "common/string_util.h"
10 8
11#ifdef _WIN32 9#ifdef _WIN32
12#include <windows.h> 10#include <windows.h>
@@ -16,10 +14,7 @@
16#include <io.h> 14#include <io.h>
17#include <direct.h> // getcwd 15#include <direct.h> // getcwd
18#else 16#else
19#include <cerrno>
20#include <cstdlib>
21#include <sys/param.h> 17#include <sys/param.h>
22#include <sys/types.h>
23#include <dirent.h> 18#include <dirent.h>
24#endif 19#endif
25 20
@@ -32,8 +27,6 @@
32#include <algorithm> 27#include <algorithm>
33#include <sys/stat.h> 28#include <sys/stat.h>
34 29
35#include "common/string_util.h"
36
37#ifndef S_ISDIR 30#ifndef S_ISDIR
38#define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) 31#define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
39#endif 32#endif