diff --git a/LibOS/shim/include/shim_types.h b/LibOS/shim/include/shim_types.h index 2547c30c..2c3814e9 100644 --- a/LibOS/shim/include/shim_types.h +++ b/LibOS/shim/include/shim_types.h @@ -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 */