fix: kvm instrumentation for CentOS >= 4.18.0-147
[lttng-modules.git] / lttng-syscalls.c
index 7a2d02a9ef1ff6c8d4e41ea39c62918c3c2a77e7..a4ec3d5cf7313114f2ac3adfd1ee772c2713b10e 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/stringify.h>
 #include <linux/file.h>
 #include <linux/anon_inodes.h>
+#include <linux/fcntl.h>
 #include <asm/ptrace.h>
 #include <asm/syscall.h>
 
@@ -73,6 +74,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.026994 seconds and 4 git commands to generate.