fix: media: v4l2: abstract timeval handling in v4l2_buffer (v5.6)
[lttng-modules.git] / lttng-syscalls.c
index 8da8c28206f9239cfa62ac6ee28b19fcdce3a1aa..b8a3eac4bcaecb349ba09ae5f0da447b7116df0b 100644 (file)
@@ -86,6 +86,18 @@ struct mmap_arg_struct;
 struct file_handle;
 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
 #else
This page took 0.023038 seconds and 4 git commands to generate.