diff options
Diffstat (limited to 'compiler-rt/lib/safestack/safestack.cc')
| -rw-r--r-- | compiler-rt/lib/safestack/safestack.cc | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/compiler-rt/lib/safestack/safestack.cc b/compiler-rt/lib/safestack/safestack.cc index b194b6cfa8f..d783cd5a9b2 100644 --- a/compiler-rt/lib/safestack/safestack.cc +++ b/compiler-rt/lib/safestack/safestack.cc @@ -21,7 +21,9 @@  #include <unistd.h>  #include <sys/resource.h>  #include <sys/types.h> +#if !defined(__NetBSD__)  #include <sys/user.h> +#endif  #include "interception/interception.h"  #include "sanitizer_common/sanitizer_common.h" | 

