Index: runtime/vm/os_macos.cc |
=================================================================== |
--- runtime/vm/os_macos.cc (revision 18775) |
+++ runtime/vm/os_macos.cc (working copy) |
@@ -2,16 +2,19 @@ |
// 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 "vm/globals.h" |
+#if defined(TARGET_OS_MACOS) |
+ |
#include "vm/os.h" |
-#include <errno.h> |
-#include <limits.h> |
-#include <mach/mach.h> |
-#include <mach/clock.h> |
-#include <mach/mach_time.h> |
-#include <sys/time.h> |
-#include <sys/resource.h> |
-#include <unistd.h> |
+#include <errno.h> // NOLINT |
+#include <limits.h> // NOLINT |
+#include <mach/mach.h> // NOLINT |
+#include <mach/clock.h> // NOLINT |
+#include <mach/mach_time.h> // NOLINT |
+#include <sys/time.h> // NOLINT |
+#include <sys/resource.h> // NOLINT |
+#include <unistd.h> // NOLINT |
#include "platform/utils.h" |
#include "vm/isolate.h" |
@@ -219,3 +222,5 @@ |
} |
} // namespace dart |
+ |
+#endif // defined(TARGET_OS_MACOS) |