Index: runtime/platform/thread_android.cc |
=================================================================== |
--- runtime/platform/thread_android.cc (revision 18775) |
+++ runtime/platform/thread_android.cc (working copy) |
@@ -2,10 +2,13 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#include "platform/globals.h" |
+#if defined(TARGET_OS_ANDROID) |
+ |
#include "platform/thread.h" |
-#include <errno.h> |
-#include <sys/time.h> |
+#include <errno.h> // NOLINT |
+#include <sys/time.h> // NOLINT |
#include "platform/assert.h" |
@@ -277,3 +280,5 @@ |
} |
} // namespace dart |
+ |
+#endif // defined(TARGET_OS_ANDROID) |