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:14 +0000 (11:58 -0400)
commit87ad3fdc188bdecd650cd6accdd8ea0bfa4c40e0
treea2c4a360d379539260151a0c410c686d1eed0c49
parent25fd068813d5afb4bccdf16e02b0a30c38d1d35c
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.028657 seconds and 4 git commands to generate.