diff options
author | 2015-10-28 08:56:41 -0700 | |
---|---|---|
committer | 2015-10-28 08:56:41 -0700 | |
commit | 27a58348b2a38bf8cca16dfd8f332d8cd5773270 (patch) | |
tree | 3e7c51ec49d145b18b8abadd31fbce8ae66c9b52 | |
parent | 9a7404188e4fe435a97b17685ec9959f1e5c220f (diff) |
Add missing include for sleep().
This used to be leaked unconditionally by libc++.
Change-Id: I984ab7328ff3a2499c3c89a6862feaa62b6166de
Author: Dan Albert<danalbert@google.com>
Cherry-pick of https://android-review.googlesource.com/#/c/178189/1
This fixes the AOSP mips build.
Review URL: https://codereview.chromium.org/1425843003
-rw-r--r-- | dm/DM.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 " |