projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: y2038: hide timeval/timespec/itimerval/itimerspec types (v5.6)
[lttng-modules.git]
/
lttng-syscalls.c
diff --git
a/lttng-syscalls.c
b/lttng-syscalls.c
index 6d232d53831b889b758e4195a9898406516c1b6a..fb14f6b043a877a77176e94a5ff3926a4b180b07 100644
(file)
--- a/
lttng-syscalls.c
+++ b/
lttng-syscalls.c
@@
-77,6
+77,13
@@
struct user_msghdr;
* Forward declaration for kernels >= 5.6
*/
struct timex;
* 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
#ifdef IA32_NR_syscalls
#define NR_compat_syscalls IA32_NR_syscalls
This page took
0.023409 seconds
and
4
git commands to generate.