PackageKit: use the correct kernel headers.

The debug build of the packagefs kernel addon failed because user_memcpy had no type.
Using the correct headers for user_memcpy and IS_USER_ADDRESS fixed the issue.
This commit is contained in:
Jérôme Duval
2018-04-05 17:51:13 +02:00
parent ae5821e892
commit b1f1332ebb
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -11,7 +11,10 @@
#include <string.h>
#if defined(_KERNEL_MODE) && !defined(_BOOT_MODE)
#include <arch/user_memory.h>
// for user_memcpy() and IS_USER_ADDRESS()
#include <KernelExport.h>
#include <kernel.h>
#endif
+4 -1
View File
@@ -16,7 +16,10 @@
#include <Errors.h>
#if defined(_KERNEL_MODE) && !defined(_BOOT_MODE)
#include <arch/user_memory.h>
// for user_memcpy() and IS_USER_ADDRESS()
#include <KernelExport.h>
#include <kernel.h>
#endif