summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-12 09:03:08 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-12 09:03:08 -0700
commit3d92d523089bdd7881d2319414a29bf77172b432 (patch)
treee11d0af1421cfd41966b892722cfa8d5fa787524 /src
parent1581766afea0b31de0ed0f9f677fc3b92a29daae (diff)
downloadandroid_art-3d92d523089bdd7881d2319414a29bf77172b432.tar.gz
android_art-3d92d523089bdd7881d2319414a29bf77172b432.tar.bz2
android_art-3d92d523089bdd7881d2319414a29bf77172b432.zip
Add HAVE_ANDROID_OS check around cutils/properties.h include
Change-Id: Ibe3ffd4a829d3ec0e41f861b09da0990e603f2c2
Diffstat (limited to 'src')
-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.