In some kernel versions, linux/fdtable.h dereferences a pointer in a
forward declared 'struct task_struct' without an include of 'linux/sched.h'.
Add this missing include to the wrapper.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib3a613a2d820738c1e741aa9e7c38b61771d35a3
#include <linux/version.h>
#include <linux/fdtable.h>
+#include <linux/sched.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,11,0))
static inline