Fix: add missing #include for 3.8 kernel
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 7 May 2021 14:48:28 +0000 (10:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 May 2021 15:58:37 +0000 (11:58 -0400)
commite85d1a7fd1e803bf700cc0cd7ddf97e52f1db5ea
treea2c4a360d379539260151a0c410c686d1eed0c49
parentea9873c80b598b564819d0e94ef3dbec4eac0d0e
Fix: add missing #include for 3.8 kernel

Add the `linux/compat.h` include to fix the following error while
building the modules against a 3.8 kernel for x86-64 kernel:
  error: ‘F_GETLK64’ undeclared here (not in a function)
     ctf_enum_value("F_GETLK64", F_GETLK64)

Also, move the #include directives from the instrumentation headers to
the `lttng-syscalls.h` file.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I334a14d0b40ec77e0ca0aa3b762197de2050a1ae
include/instrumentation/syscalls/headers/syscalls_integers_override.h
include/instrumentation/syscalls/headers/syscalls_pointers.h
src/lttng-syscalls-enum.c
src/lttng-syscalls.h
This page took 0.025581 seconds and 4 git commands to generate.