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 " |