summaryrefslogtreecommitdiff
path: root/src/syscall.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-15 11:14:43 -0700
committerJens Axboe <axboe@kernel.dk>2019-01-15 11:19:16 -0700
commitf16b83b29349dae16f07aae9a1709aed0dff247d (patch)
tree6bdeb2fd6d7a7572ec974638acfd5d4f387aaba5 /src/syscall.c
parent89167b457f5678fd8fae0696d616cef5e3a3c379 (diff)
Add configure script
Some older installs don't have __kernel_rwf_t in linux/fs.h, so add a check for that. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/syscall.c')
-rw-r--r--src/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall.c b/src/syscall.c
index a625b47..7097c46 100644
--- a/src/syscall.c
+++ b/src/syscall.c
@@ -4,6 +4,7 @@
#include <unistd.h>
#include <sys/syscall.h>
#include <sys/uio.h>
+#include "compat.h"
#include "io_uring.h"
#if defined(__x86_64)