fix: y2038: hide timeval/timespec/itimerval/itimerspec types (v5.6)
[lttng-modules.git] / lttng-syscalls.c
index f6d4187806c1bfa90567450c72ef870ab43c4b3f..b8a3eac4bcaecb349ba09ae5f0da447b7116df0b 100644 (file)
@@ -90,6 +90,13 @@ struct user_msghdr;
  * Forward declaration for kernels >= 5.6
  */
 struct timex;
+struct timeval;
+struct itimerval;
+struct itimerspec;
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0))
+typedef __kernel_old_time_t time_t;
+#endif
 
 #ifdef IA32_NR_syscalls
 #define NR_compat_syscalls IA32_NR_syscalls
This page took 0.024007 seconds and 4 git commands to generate.