diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 3 | ||||
-rw-r--r-- | sys/vm/vm_mmap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 4e4e4db..ce775f8 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -85,7 +85,6 @@ __FBSDID("$FreeBSD$"); #include <sys/mount.h> #include <sys/namei.h> #include <sys/vnode.h> -#include <sys/mac.h> #include <sys/malloc.h> #include <sys/sysctl.h> #include <sys/sysproto.h> @@ -94,6 +93,8 @@ __FBSDID("$FreeBSD$"); #include <sys/sx.h> #include <sys/vmmeter.h> +#include <security/mac/mac_framework.h> + #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_map.h> diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 244877e..933080e 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$"); #include <sys/vnode.h> #include <sys/fcntl.h> #include <sys/file.h> -#include <sys/mac.h> #include <sys/mman.h> #include <sys/mount.h> #include <sys/conf.h> @@ -68,6 +67,8 @@ __FBSDID("$FreeBSD$"); #include <sys/vmmeter.h> #include <sys/sysctl.h> +#include <security/mac/mac_framework.h> + #include <vm/vm.h> #include <vm/vm_param.h> #include <vm/pmap.h> |