Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/ports/SkOSFile_stdio.cpp

Issue 1207893002: Clean up a few includes, introduce iwyu. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: There are people on the internet who are wrong! Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ports/SkOSFile_stdio.cpp
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp
index d63462549c33d11b80a42690d8f9f79f17b3dcc4..bd99b1b0058011cb45e560aa2dd6d4721a66d433 100644
--- a/src/ports/SkOSFile_stdio.cpp
+++ b/src/ports/SkOSFile_stdio.cpp
@@ -10,13 +10,14 @@
#include <errno.h>
#include <stdio.h>
#include <sys/stat.h>
-#include <sys/types.h>
#ifdef _WIN32
#include <direct.h>
#include <io.h>
#endif
+#include "SkTypes.h"
+
SkFILE* sk_fopen(const char path[], SkFILE_Flags flags) {
char perm[4];
char* p = perm;

Powered by Google App Engine
This is Rietveld 408576698