/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_LINUX_TIME_TYPES_H #define _UAPI_LINUX_TIME_TYPES_H #include <linux/types.h> struct __kernel_timespec { … }; struct __kernel_itimerspec { … }; /* * legacy timeval structure, only embedded in structures that * traditionally used 'timeval' to pass time intervals (not absolute * times). Do not add new users. If user space fails to compile * here, this is probably because it is not y2038 safe and needs to * be changed to use another interface. */ #ifndef __kernel_old_timeval struct __kernel_old_timeval { … }; #endif struct __kernel_old_timespec { … }; struct __kernel_old_itimerval { … }; struct __kernel_sock_timeval { … }; #endif /* _UAPI_LINUX_TIME_TYPES_H */