aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/proc.h1
-rw-r--r--include/sys/types.h6
-rw-r--r--include/sys/vnode.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/include/sys/proc.h b/include/sys/proc.h
index c6e4a13cf..ab2425ce8 100644
--- a/include/sys/proc.h
+++ b/include/sys/proc.h
@@ -29,7 +29,6 @@
#include <linux/proc_fs.h>
#include <linux/kmod.h>
-#include <linux/uaccess.h>
#include <linux/ctype.h>
#include <linux/sysctl.h>
#include <linux/seq_file.h>
diff --git a/include/sys/types.h b/include/sys/types.h
index 1dec7b8d0..6336bb6de 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -9,6 +9,12 @@ extern "C" {
#include <sys/sysmacros.h>
#include "spl_config.h"
+#include <linux/uaccess_compat.h>
+#include <linux/file_compat.h>
+#include <linux/list_compat.h>
+#include <linux/time_compat.h>
+#include <linux/bitops_compat.h>
+
#ifndef HAVE_UINTPTR_T
typedef unsigned long uintptr_t;
#endif
diff --git a/include/sys/vnode.h b/include/sys/vnode.h
index eca33f4b1..7ff14692c 100644
--- a/include/sys/vnode.h
+++ b/include/sys/vnode.h
@@ -34,7 +34,6 @@ extern "C" {
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/fcntl.h>
-#include <linux/uaccess.h>
#include <linux/buffer_head.h>
#include <linux/dcache.h>
#include <linux/namei.h>