about summary refs log tree commit diff
path: root/libtokencap/libtokencap.so.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtokencap/libtokencap.so.c')
-rw-r--r--libtokencap/libtokencap.so.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtokencap/libtokencap.so.c b/libtokencap/libtokencap.so.c
index 1588239c..56b2cd4b 100644
--- a/libtokencap/libtokencap.so.c
+++ b/libtokencap/libtokencap.so.c
@@ -45,7 +45,9 @@
 #elif defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__
 #include <sys/types.h>
 #include <sys/sysctl.h>
+#if !defined __NetBSD__
 #include <sys/user.h>
+#endif
 #include <sys/mman.h>
 #endif