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

Unified Diff: dm/DM.cpp

Issue 1425843003: Add missing include for sleep(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Not on windows Created 5 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index f1f54d3f4c4b6579e48fb64973c6474fb24a5502..27231032a3bedec4dadfd5e097a5700a3d4b9493 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -41,6 +41,10 @@ extern void SkPDFImageDumpStats();
#include <stdlib.h>
+#ifndef SK_BUILD_FOR_WIN32
+ #include <unistd.h>
+#endif
+
DEFINE_string(src, "tests gm skp image", "Source types to test.");
DEFINE_bool(nameByHash, false,
"If true, write to FLAGS_writePath[0]/<hash>.png instead of "
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698