diff options
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 |