Skip to content

Commit

Permalink
kernel: Fix compile err
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Aug 9, 2023
1 parent 7bdb885 commit b52bf53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions kernel/kernel_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "linux/nsproxy.h"
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
#include "linux/sched/task.h"
#include "linux/uaccess.h"
#else
#include "linux/sched.h"
#endif
Expand Down
1 change: 0 additions & 1 deletion kernel/kernel_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "linux/fs.h"
#include "linux/key.h"
#include "linux/version.h"
#include "linux/uaccess.h"

extern long ksu_strncpy_from_user_nofault(char *dst,
const void __user *unsafe_addr,
Expand Down

0 comments on commit b52bf53

Please sign in to comment.