1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) Linux Test Project, 2014-2019 4 */ 5 6 #ifndef LAPI_POSIX_TYPES_H__ 7 #define LAPI_POSIX_TYPES_H__ 8 9 #include <linux/posix_types.h> 10 11 #ifndef __kernel_long_t 12 # if defined(__x86_64__) && defined(__ILP32__) 13 typedef long long __kernel_long_t; 14 typedef unsigned long long __kernel_ulong_t; 15 # else 16 typedef long __kernel_long_t; 17 typedef unsigned long __kernel_ulong_t; 18 # endif 19 #endif 20 21 #endif /* LAPI_POSIX_TYPES_H__ */ 22