diff options
| author | 2014-09-10 18:44:08 -0400 | |
|---|---|---|
| committer | 2014-09-10 18:44:08 -0400 | |
| commit | d79fe3ebaadbc19e8ffe5075bad51a9735aafb38 (patch) | |
| tree | 49d8b9dc37a2f9a541aef587c7bb50f9fe3c01f7 /src/common/file_util.cpp | |
| parent | Merge pull request #104 from archshift/removal (diff) | |
| parent | core: Prune redundant includes (diff) | |
| download | yuzu-d79fe3ebaadbc19e8ffe5075bad51a9735aafb38.tar.gz yuzu-d79fe3ebaadbc19e8ffe5075bad51a9735aafb38.tar.xz yuzu-d79fe3ebaadbc19e8ffe5075bad51a9735aafb38.zip | |
Merge pull request #103 from archshift/prune
Prune redundant includes
Diffstat (limited to 'src/common/file_util.cpp')
| -rw-r--r-- | src/common/file_util.cpp | 7 |
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 |