summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2019-05-08 00:44:41 +0000
committerKamil Rytarowski <n54@gmx.com>2019-05-08 00:44:41 +0000
commit5d3548b852390631aeb4496ecbcfcbd121d79309 (patch)
tree8340edbb03ad05d5b843fcf0fd07e8c9814acacb
parenta27a0914d34392a9b739862222f240fd4fea59e7 (diff)
downloadbcm5719-llvm-5d3548b852390631aeb4496ecbcfcbd121d79309.tar.gz
bcm5719-llvm-5d3548b852390631aeb4496ecbcfcbd121d79309.zip
Fix build on NetBSD 8.99.38
With recent changes the dev/nvmm/nvmm_ioctl.h header is no longer a standalone NVMM header. Disable it until the NVMM operations will stabilize and be included in the ioctl(2) interceptors. llvm-svn: 360212
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
index 5860be2287e..b2fb5cb7646 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
@@ -123,7 +123,9 @@
#include <dev/isa/isvio.h>
#include <dev/isa/wtreg.h>
#include <dev/iscsi/iscsi_ioctl.h>
+#if 0
#include <dev/nvmm/nvmm_ioctl.h>
+#endif
#include <dev/ofw/openfirmio.h>
#include <dev/pci/amrio.h>
#include <dev/pci/mlyreg.h>
OpenPOWER on IntegriCloud