summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/debugger.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/debugger.cc b/src/debugger.cc
index 4e89838d0f..fe726aa6bd 100644
--- a/src/debugger.cc
+++ b/src/debugger.cc
@@ -20,7 +20,6 @@
#include <set>
-#include "cutils/properties.h"
#include "class_linker.h"
#include "class_linker-inl.h"
#include "dex_file-inl.h"
@@ -51,6 +50,10 @@
#include "utf.h"
#include "well_known_classes.h"
+#ifdef HAVE_ANDROID_OS
+#include "cutils/properties.h"
+#endif
+
namespace art {
static const size_t kMaxAllocRecordStackDepth = 16; // Max 255.