summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-05-13 14:42:24 +0200
committerAngelo Mantellini <manangel@cisco.com>2019-05-13 14:43:45 +0200
commit0a0e51426506985ae1e7cf8c581d109fdad7a725 (patch)
treeb6ce789c802c906c5644f89c1d5a1fa891e9c5a2 /utils/src
parent7772439ac913ae1d50b4ee31688efac1fba42435 (diff)
[HICN-194] support for android environment
Change-Id: I11a614709152035784e492ccd99bc383765a0aa1 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'utils/src')
-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>