[compiler-rt] [sanitizer_common] Fix building with NetBSD 10.99.12 or newer (PR #134708)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 7 12:25:12 PDT 2025
================
@@ -29,7 +29,13 @@
# include "sanitizer_solaris.h"
# if SANITIZER_NETBSD
-# define _RTLD_SOURCE // for __lwp_gettcb_fast() / __lwp_getprivate_fast()
+# // for __lwp_gettcb_fast() / __lwp_getprivate_fast()
+# include <sys/param.h>
----------------
thurstond wrote:
Ah, I see, thanks!
https://github.com/llvm/llvm-project/pull/134708
More information about the llvm-commits
mailing list