Lorenz Brun | 0de1893 | 2021-03-11 00:36:48 +0100 | [diff] [blame] | 1 | Copyright 2020 The Monogon Project Authors. |
| 2 | |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | you may not use this file except in compliance with the License. |
| 5 | You may obtain a copy of the License at |
| 6 | |
| 7 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | |
| 9 | Unless required by applicable law or agreed to in writing, software |
| 10 | distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | See the License for the specific language governing permissions and |
| 13 | limitations under the License. |
| 14 | |
| 15 | |
| 16 | From 99f3ba25f42ee1ec31bcbb27c4813f4589d6fd89 Mon Sep 17 00:00:00 2001 |
| 17 | From: Lorenz Brun <lorenz@nexantic.com> |
| 18 | Date: Tue, 9 Mar 2021 13:42:50 +0100 |
| 19 | Subject: [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 | |
| 26 | diff --git a/src/include/liburing/compat.h b/src/include/liburing/compat.h |
| 27 | new file mode 100644 |
| 28 | index 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 | -- |
| 48 | 2.25.1 |
| 49 | |