diff --git a/kernel/kernel_compat.c b/kernel/kernel_compat.c index 6bd6a46b..3e216657 100644 --- a/kernel/kernel_compat.c +++ b/kernel/kernel_compat.c @@ -15,6 +15,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) #include "linux/key.h" #include "linux/errno.h" +#include "linux/cred.h" struct key *init_session_keyring = NULL; static inline int install_session_keyring(struct key *keyring) @@ -174,4 +175,4 @@ long ksu_strncpy_from_user_nofault(char *dst, const void __user *unsafe_addr, return ret; } -#endif \ No newline at end of file +#endif