blob: ed53e37c802d116b06364470014166608222bb8a [file] [log] [blame]
Lorenz Brun0de18932021-03-11 00:36:48 +01001Copyright 2020 The Monogon Project Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15
16From 99f3ba25f42ee1ec31bcbb27c4813f4589d6fd89 Mon Sep 17 00:00:00 2001
17From: Lorenz Brun <lorenz@nexantic.com>
18Date: Tue, 9 Mar 2021 13:42:50 +0100
19Subject: [PATCH] include compat.h
20
21---
22 src/include/liburing/compat.h | 15 +++++++++++++++
23 1 file changed, 15 insertions(+)
24 create mode 100644 src/include/liburing/compat.h
25
26diff --git a/src/include/liburing/compat.h b/src/include/liburing/compat.h
27new file mode 100644
28index 0000000..2e46c5f
29--- /dev/null
30+++ b/src/include/liburing/compat.h
31@@ -0,0 +1,15 @@
32+/* SPDX-License-Identifier: MIT */
33+#ifndef LIBURING_COMPAT_H
34+#define LIBURING_COMPAT_H
35+
36+#include <linux/time_types.h>
37+
38+#include <inttypes.h>
39+
40+struct open_how {
41+ uint64_t flags;
42+ uint64_t mode;
43+ uint64_t resolve;
44+};
45+
46+#endif
47--
482.25.1
49