summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/src/hiperf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc
index 681696dbf..66cd559cb 100644
--- a/utils/src/hiperf.cc
+++ b/utils/src/hiperf.cc
@@ -27,8 +27,10 @@
#include <unordered_set>
#ifdef __linux__
+#ifndef __ANDROID__
#include <mcheck.h>
#endif
+#endif
#ifdef _WIN32
#include <hicn/transport/portability/win_portability.h>