Index: runtime/vm/gdbjit_linux.cc |
=================================================================== |
--- runtime/vm/gdbjit_linux.cc (revision 18787) |
+++ runtime/vm/gdbjit_linux.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 <stdint.h> |
-#include <stdio.h> |
-#include <stdlib.h> |
+#include "vm/globals.h" |
+#if defined(TARGET_OS_LINUX) |
+#include <stdint.h> // NOLINT |
+#include <stdio.h> // NOLINT |
+#include <stdlib.h> // NOLINT |
+ |
#include "vm/gdbjit_linux.h" |
extern "C" { |
@@ -77,3 +80,5 @@ |
last_dynamic_region = NULL; |
} |
}; |
+ |
+#endif // defined(TARGET_OS_LINUX) |