X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-syscalls.c;h=a4ec3d5cf7313114f2ac3adfd1ee772c2713b10e;hb=b2e8ba42a765741d1365fe39e3ad6c26690137b9;hp=6d232d53831b889b758e4195a9898406516c1b6a;hpb=9eb15e8baa0dd2961b6a74aeeb9d23602fa5a149;p=lttng-modules.git diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 6d232d53..a4ec3d5c 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -77,6 +78,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