fix: missing include for 'task_struct' in fdtable.h
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 19 Jan 2021 16:34:25 +0000 (11:34 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Jan 2021 17:21:09 +0000 (12:21 -0500)
commitcf41b81e4a59a36acef130dcaf34defd901eb870
tree3870babc74e5861eda845543640b11f1fd7b1a34
parent2b8161a4ae82a2438e553eef0828a94fb3e24ace
fix: missing include for 'task_struct' in fdtable.h

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/wrapper/fdtable.h
This page took 0.031867 seconds and 4 git commands to generate.