[Lldb-commits] [lldb] [lldb][AIX] Some base #if _AIX changes of a minimal lldb build (PR #120979)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 7 01:11:20 PST 2025
================
@@ -16,6 +16,9 @@
#include <memory>
#include <sys/socket.h>
#include <sys/un.h>
+#ifdef _AIX
+#include <strings.h>
----------------
labath wrote:
(I see you've already done that, so no point in backing it out, but I'll note that some people like to do a wholesale `s/memset(0)/bzero` because the second one is supposedly faster. I think it would be fine to include strings.h unconditionally. Even linux documents it to be included in strings.h (and it work without probably because it ends up being included transitively)
https://github.com/llvm/llvm-project/pull/120979
More information about the lldb-commits
mailing list