pkgsrc-wip/chromium/patches/patch-base_profiler_stack__...

21 lines
407 B
C++

$NetBSD$
--- base/profiler/stack_copier_signal.cc.orig 2020-07-15 18:55:48.000000000 +0000
+++ base/profiler/stack_copier_signal.cc
@@ -4,10 +4,14 @@
#include "base/profiler/stack_copier_signal.h"
+#if defined(OS_NETBSD)
+#include <sys/futex.h>
+#else
#include <linux/futex.h>
+#include <syscall.h>
+#endif
#include <signal.h>
#include <sys/ucontext.h>
-#include <syscall.h>
#include <atomic>