summaryrefslogtreecommitdiff
path: root/f_owner_ex.h
blob: 81e4a4d7ba656f7148f951bdcd9ed664bfb171b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2018 Dmitry V. Levin <ldv@strace.io>
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef STRACE_F_OWNER_EX_H
# define STRACE_F_OWNER_EX_H

# include <linux/fcntl.h>

# if defined HAVE_STRUCT_F_OWNER_EX
typedef struct f_owner_ex struct_kernel_f_owner_ex;
# elif defined HAVE_STRUCT___KERNEL_F_OWNER_EX
typedef struct __kernel_f_owner_ex struct_kernel_f_owner_ex;
# else
#  error struct f_owner_ex definition not found in <linux/fcntl.h>
# endif

#endif /* !STRACE_F_OWNER_EX_H */