[PATCH] fio: kill asm/unistd.h include
[disktools.git] / os-linux.h
1 #ifndef FIO_OS_LINUX_H
2 #define FIO_OS_LINUX_H
3
4 #include <libaio.h>
5 #include <aio.h>
6
7 #define FIO_HAVE_LIBAIO
8 #define FIO_HAVE_POSIXAIO
9 #define FIO_HAVE_FADVISE
10
11 /*
12  * we want fadvise64 really, but it's so tangled... later
13  */
14 #define fadvise(fd, off, len, advice)   posix_fadvise((fd), (off_t)(off), (len), (advice))
15
16 #endif