summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host')
-rw-r--r--lldb/source/Host/linux/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/Host.cpp b/lldb/source/Host/linux/Host.cpp
index 6217b1d2f1e..5671bee9123 100644
--- a/lldb/source/Host/linux/Host.cpp
+++ b/lldb/source/Host/linux/Host.cpp
@@ -14,7 +14,7 @@
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
-#ifndef __ANDROID__
+#if defined(__GLIBC__)
#include <execinfo.h>
#endif
OpenPOWER on IntegriCloud