summaryrefslogtreecommitdiff
path: root/os/os-netbsd.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-07-30 13:29:58 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-07-30 13:29:58 +0200
commitb939683e7b997653a35bd7d55f733fc96030b246 (patch)
treec09c54c37a52d377ab075f3752e14f6258431b7a /os/os-netbsd.h
parent4361762833dee0f5c2840e348efaaf5967a2ab78 (diff)
downloadfio-b939683e7b997653a35bd7d55f733fc96030b246.tar.gz
fio-b939683e7b997653a35bd7d55f733fc96030b246.tar.bz2
Add proper include to silence build warning on NetBSD/FreeBSD
Reported-by: Bruce Cran <bruce@cran.org.uk> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r--os/os-netbsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index 7f5f4846..e03866df 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -3,6 +3,7 @@
#include <errno.h>
#include <sys/param.h>
+#include <sys/thr.h>
/* XXX hack to avoid confilcts between rbtree.h and <sys/rb.h> */
#define rb_node _rb_node
#include <sys/sysctl.h>