mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 05:41:37 +00:00
[LibOS] Define struct __kernel_itimerspec for kernel < 4.19.0
Fixes building on RHEL/CentOS 8.2.
This commit is contained in:
committed by
Michał Kowalczyk
parent
fe123b7f94
commit
0cd37ea56f
@@ -56,7 +56,9 @@ struct __kernel_timespec {
|
||||
__kernel_time_t tv_sec; /* seconds */
|
||||
long tv_nsec; /* nanoseconds */
|
||||
};
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0)
|
||||
struct __kernel_itimerspec {
|
||||
struct __kernel_timespec it_interval; /* timer period */
|
||||
struct __kernel_timespec it_value; /* timer expiration */
|
||||
|
||||
Reference in New Issue
Block a user