Add HAVE_ANDROID_OS check around cutils/properties.h include
Change-Id: Ibe3ffd4a829d3ec0e41f861b09da0990e603f2c2
diff --git a/src/debugger.cc b/src/debugger.cc
index 4e89838..fe726aa 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.