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 <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2019-05-01 16:12:06 -06:00
parent 10a5903db8
commit 7b989f3419

View File

@@ -13,6 +13,10 @@
#define BLOCK 4096 #define BLOCK 4096
#ifndef RWF_NOWAIT
#define RWF_NOWAIT 8
#endif
static int get_file_fd(void) static int get_file_fd(void)
{ {
ssize_t ret; ssize_t ret;