From da44d773dedf8aae6153e3423012f236cba3bfcd Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 1 Apr 2014 15:01:46 -0700 Subject: Fix running with DlMalloc instead of RosAlloc. Bug: 13748830 Bug: 13744490 Change-Id: Ieec97cf58ebf9864a40ee85aae582cdcf3f27c0c --- runtime/runtime.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/runtime.cc') diff --git a/runtime/runtime.cc b/runtime/runtime.cc index f016189..bafc0fc 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -22,6 +22,7 @@ #include #include +#include #include #include @@ -111,6 +112,7 @@ Runtime::Runtime() exit_(nullptr), abort_(nullptr), stats_enabled_(false), + running_on_valgrind_(RUNNING_ON_VALGRIND > 0), profile_(false), profile_period_s_(0), profile_duration_s_(0), -- cgit v1.1