From 7b989f34191302011b5b49bf5b26b36862d54056 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 1 May 2019 16:12:06 -0600 Subject: test/eeed8b54e0df-test: define RWF_NOWAIT if we don't have it Older installs/distros don't have this in fs.h. Signed-off-by: Jens Axboe --- test/eeed8b54e0df-test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/eeed8b54e0df-test.c b/test/eeed8b54e0df-test.c index 17018a2..9083d3e 100644 --- a/test/eeed8b54e0df-test.c +++ b/test/eeed8b54e0df-test.c @@ -13,6 +13,10 @@ #define BLOCK 4096 +#ifndef RWF_NOWAIT +#define RWF_NOWAIT 8 +#endif + static int get_file_fd(void) { ssize_t ret; -- cgit