summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-03-02 09:46:37 -0700
committerJens Axboe <axboe@kernel.dk>2020-03-02 09:46:37 -0700
commit5eef453c1e1da637835f35e835c12e0c1c62cbb4 (patch)
treeed91c45ce785e9cfbac7d24c42fef32412070bcc /test
parentdc14e30a086082b6aebc3130948e2453e3bd3b2a (diff)
downloadliburing-5eef453c1e1da637835f35e835c12e0c1c62cbb4.tar.gz
liburing-5eef453c1e1da637835f35e835c12e0c1c62cbb4.tar.bz2
test/splice: include <linux/memfd.h>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
-rw-r--r--test/splice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/splice.c b/test/splice.c
index 8a7878b..43b5427 100644
--- a/test/splice.c
+++ b/test/splice.c
@@ -5,6 +5,7 @@
#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
+#include <linux/memfd.h>
#include "liburing.h"