--- base/profiler/stack_sampling_profiler_unittest.cc.orig	2025-04-04 08:52:13 UTC
+++ base/profiler/stack_sampling_profiler_unittest.cc
@@ -47,7 +47,7 @@
 
 #include <intrin.h>
 #include <malloc.h>
-#else
+#elif !BUILDFLAG(IS_BSD)
 #include <alloca.h>
 #endif
 
