================
@@ -29,6 +29,10 @@
 #include <sys/utsname.h>
 #include <unistd.h>
 
+#ifdef __ANDROID__
+#include <android/api-level.h>
----------------
enh-google wrote:

what's the build failure you're seeing? this _should_ be included "for free" by 
all of the #includes above (via <sys/cdefs.h>, which they should all drag in).

of course, if you're aiming for a style guide "explicitly include what you use" 
kind of thing, that's fine, but -- other than for style reasons -- you 
shouldn't ever _need_ this...

https://github.com/llvm/llvm-project/pull/124383
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to