X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-mac.h;h=39a2f827408fd25bf30172e05921908170bef180;hp=1b786f832f0911f7844774343cc4b70ab30171e7;hb=ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe;hpb=03e20d687566753b90383571e5e152c5142bdffd diff --git a/os/os-mac.h b/os/os-mac.h index 1b786f83..39a2f827 100644 --- a/os/os-mac.h +++ b/os/os-mac.h @@ -13,6 +13,7 @@ #endif #define FIO_HAVE_POSIXAIO +#define FIO_HAVE_CLOCK_MONOTONIC #define FIO_USE_GENERIC_BDEV_SIZE #define FIO_USE_GENERIC_RAND @@ -21,7 +22,7 @@ typedef unsigned int clockid_t; typedef off_t off64_t; -static inline int blockdev_invalidate_cache(int fd) +static inline int blockdev_invalidate_cache(struct fio_file fio_unused *f) { return EINVAL; }