https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/124383
None >From b0580b8b0f1f50e5fa10d2b872c79b4942faf093 Mon Sep 17 00:00:00 2001 From: Brad Smith <b...@comstyle.com> Date: Fri, 24 Jan 2025 21:38:07 -0500 Subject: [PATCH] [lldb] Include api-level.h header for Android --- lldb/source/Host/posix/HostInfoPosix.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/source/Host/posix/HostInfoPosix.cpp b/lldb/source/Host/posix/HostInfoPosix.cpp index 879dccfd353be5..78116eb161afa6 100644 --- a/lldb/source/Host/posix/HostInfoPosix.cpp +++ b/lldb/source/Host/posix/HostInfoPosix.cpp @@ -29,6 +29,10 @@ #include <sys/utsname.h> #include <unistd.h> +#ifdef __ANDROID__ +#include <android/api-level.h> +#endif + using namespace lldb_private; namespace { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits