summaryrefslogtreecommitdiffstats
path: root/io_uring/cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/cancel.h')
-rw-r--r--io_uring/cancel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io_uring/cancel.h b/io_uring/cancel.h
index fc98622e6..c0a8e7c52 100644
--- a/io_uring/cancel.h
+++ b/io_uring/cancel.h
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#ifndef IORING_CANCEL_H
+#define IORING_CANCEL_H
#include <linux/io_uring_types.h>
@@ -22,3 +24,5 @@ void init_hash_table(struct io_hash_table *table, unsigned size);
int io_sync_cancel(struct io_ring_ctx *ctx, void __user *arg);
bool io_cancel_req_match(struct io_kiocb *req, struct io_cancel_data *cd);
+
+#endif