diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-02-20 04:11:52 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-02-22 23:37:29 +0100 |
| commit | 83b7bb64aa5e1ee6b18eaa5d08c17bb5b6c57048 (patch) | |
| tree | 9b633ca7531de6e36a49216ac2db91e8e7879bae /Source/Core/Common/FileUtil.cpp | |
| parent | 65bbfdb8123b4ea3e15b967b5b03b4b4335c0040 (diff) | |
Make Common/ mostly IWYU clean (and fix errors in rest of the project detected by this change).
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index 561435fb16..9765af6267 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -3,9 +3,16 @@ // Refer to the license.txt file included. #include <algorithm> +#include <cstddef> +#include <cstdio> +#include <cstring> #include <fcntl.h> +#include <limits.h> +#include <string> +#include <vector> #include <sys/stat.h> +#include "Common/Common.h" #include "Common/CommonPaths.h" #include "Common/FileUtil.h" @@ -21,14 +28,14 @@ #include <errno.h> #include <libgen.h> #include <stdlib.h> -#include <sys/param.h> -#include <sys/types.h> +#include <unistd.h> #endif #if defined(__APPLE__) #include <CoreFoundation/CFBundle.h> #include <CoreFoundation/CFString.h> #include <CoreFoundation/CFURL.h> +#include <sys/param.h> #endif #ifndef S_ISDIR |
