From: Jens Axboe Date: Tue, 20 Dec 2016 21:58:06 +0000 (-0700) Subject: Fix compile on OSX X-Git-Tag: fio-2.17~53 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3ab9ebca087bac797c7dad00fdb3b4dcfc01fa6c;p=fio.git Fix compile on OSX And probably other platforms, that don't have the posix fadvise hints. Fixes: ecb2083d3955 ("options: full control of fadvise hinting") Signed-off-by: Jens Axboe --- diff --git a/os/os.h b/os/os.h index 16bca684..4178e6f9 100644 --- a/os/os.h +++ b/os/os.h @@ -81,6 +81,7 @@ typedef struct aiocb os_aiocb_t; #define POSIX_FADV_DONTNEED (0) #define POSIX_FADV_SEQUENTIAL (0) #define POSIX_FADV_RANDOM (0) +#define POSIX_FADV_NORMAL (0) #endif #ifndef FIO_HAVE_CPU_AFFINITY