[compiler-rt] 72c5fee - [compiler-rt] [netbsd] Include <sys/dkbad.h>

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 07:35:49 PDT 2020


Author: Kamil Rytarowski
Date: 2020-09-17T16:35:39+02:00
New Revision: 72c5feeed8d8d570e1c971ef069483491463a003

URL: https://github.com/llvm/llvm-project/commit/72c5feeed8d8d570e1c971ef069483491463a003
DIFF: https://github.com/llvm/llvm-project/commit/72c5feeed8d8d570e1c971ef069483491463a003.diff

LOG: [compiler-rt] [netbsd] Include <sys/dkbad.h>

Fixes build on NetBSD/sparc64.

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
index dc1f5a6616f3..c8f2aa5dba4a 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
@@ -34,6 +34,7 @@
 #include <sys/chio.h>
 #include <sys/clockctl.h>
 #include <sys/cpuio.h>
+#include <sys/dkbad.h>
 #include <sys/dkio.h>
 #include <sys/drvctlio.h>
 #include <sys/dvdio.h>


        


More information about the llvm-commits mailing list