summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/thread.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-06-17 22:28:47 +0000
committerpatrick <patrick@openbsd.org>2019-06-17 22:28:47 +0000
commit308ed93135e1e5919c16767bd98e8835e42e613b (patch)
tree96ea3d17c9198fdc432e974c60f2ce769bf38ec4 /lib/libcxx/src/thread.cpp
parentImport libunwind 8.0.0. (diff)
downloadwireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.tar.xz
wireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.zip
Merge libc++, libc++abi and libunwind version 8.0.0.
Ports build by naddy@ Tested by visa on octeon Tested by kettenis on macppc and sparc64
Diffstat (limited to 'lib/libcxx/src/thread.cpp')
-rw-r--r--lib/libcxx/src/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxx/src/thread.cpp b/lib/libcxx/src/thread.cpp
index 62b8e9cb8b4..57ae90c686a 100644
--- a/lib/libcxx/src/thread.cpp
+++ b/lib/libcxx/src/thread.cpp
@@ -19,9 +19,9 @@
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
# include <sys/param.h>
-# if defined(BSD)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
# include <sys/sysctl.h>
-# endif // defined(BSD)
+# endif
#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__)