summaryrefslogtreecommitdiff
path: root/os/os-freebsd.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-22 10:30:11 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-22 10:30:11 +0200
commit907249cffbdfa26de688c127abb5483154a4eae6 (patch)
tree3df0bdcd195c19e0b2b49e24398f9b1ef9725ab9 /os/os-freebsd.h
parent1727951019202ef3229167c07813598d485b5b06 (diff)
downloadfio-907249cffbdfa26de688c127abb5483154a4eae6.tar.gz
fio-907249cffbdfa26de688c127abb5483154a4eae6.tar.bz2
Add off64_t to FreeBSD
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os-freebsd.h')
-rw-r--r--os/os-freebsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index d1313e8c..44b60606 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -11,6 +11,8 @@
#define OS_MAP_ANON MAP_ANON
+typedef off_t off64_t;
+
static inline int blockdev_invalidate_cache(int fd)
{
return EINVAL;