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

Unified Diff: src/ports/SkOSFile_stdio.cpp

Issue 2152273002: Add support for Fuchsia (Closed) Base URL: https://fuchsia.googlesource.com/third_party/skia@master
Patch Set: Fix win build Created 4 years, 5 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
« no previous file with comments | « include/core/SkPreConfig.h ('k') | third_party/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkOSFile_stdio.cpp
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp
index 915b87b67bdc43cc4e3b8f5aae3166d59868b25e..f0082838045bff04ee2a4d0635558e43004a6225 100644
--- a/src/ports/SkOSFile_stdio.cpp
+++ b/src/ports/SkOSFile_stdio.cpp
@@ -12,6 +12,10 @@
#include <stdio.h>
#include <sys/stat.h>
+#ifdef SK_BUILD_FOR_UNIX
+#include <unistd.h>
+#endif
+
#ifdef _WIN32
#include <direct.h>
#include <io.h>
« no previous file with comments | « include/core/SkPreConfig.h ('k') | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698