aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkOSFile_posix.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-07-29 11:49:40 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-29 11:49:40 -0700
commitf20488b4f2139e6ca09fee7e39b731dd8ab467db (patch)
tree9937f93de673f5b6ab43c8ced877fa828e27f3dc /src/ports/SkOSFile_posix.cpp
parent26e0e587f76f2a9338652c100f835c2377c908d3 (diff)
Clean up a few includes, introduce iwyu.
The current include-what-you-use with current clang is much less noisy and more useful than it has been in the past. This change introduces a few IWYU directives (which are helpful documentation for humans as well) and fixes a few sets of includes. Review URL: https://codereview.chromium.org/1207893002
Diffstat (limited to 'src/ports/SkOSFile_posix.cpp')
-rw-r--r--src/ports/SkOSFile_posix.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ports/SkOSFile_posix.cpp b/src/ports/SkOSFile_posix.cpp
index cea688b86f..6f64478d04 100644
--- a/src/ports/SkOSFile_posix.cpp
+++ b/src/ports/SkOSFile_posix.cpp
@@ -6,12 +6,14 @@
*/
#include "SkOSFile.h"
-
+#include "SkString.h"
#include "SkTFitsIn.h"
+#include "SkTemplates.h"
#include "SkTypes.h"
#include <dirent.h>
#include <stdio.h>
+#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>