summaryrefslogtreecommitdiff
path: root/lib/safestack/safestack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/safestack/safestack.cc')
-rw-r--r--lib/safestack/safestack.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/safestack/safestack.cc b/lib/safestack/safestack.cc
index b194b6cfa8f9c..d783cd5a9b29d 100644
--- a/lib/safestack/safestack.cc
+++ b/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"