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: I06a6a9f7efd456843d1e4fdcc9003b839d7f3329
#include <linux/version.h>
#include <linux/fdtable.h>
+#include <linux/sched.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,11,0))
static inline