diff options
-rw-r--r-- | runtime/gc/heap.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc index 77254ce8b8..f2c924ab36 100644 --- a/runtime/gc/heap.cc +++ b/runtime/gc/heap.cc @@ -17,7 +17,9 @@ #include "heap.h" #include <limits> +#if defined(__BIONIC__) || defined(__GLIBC__) #include <malloc.h> // For mallinfo() +#endif #include <memory> #include <vector> |