Add two missing includes and remove two uneeded.

This is quite serious fix, because even with MAC framework compiled in,
MAC entry points in those two files were simply ignored.
This commit is contained in:
Pawel Jakub Dawidek 2004-06-27 09:03:22 +00:00
parent d3d1a208cb
commit 46e3b1cbe7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131177
4 changed files with 5 additions and 2 deletions

View File

@ -10,12 +10,15 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/sysproto.h>
#include <sys/mac.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/taskqueue.h>

View File

@ -32,10 +32,12 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_mac.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/mac.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/socket.h>

View File

@ -38,7 +38,6 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipx.h"
#include "opt_mac.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -80,7 +80,6 @@
#include "opt_ipdivert.h"
#include "opt_ipfilter.h"
#include "opt_ipstealth.h"
#include "opt_mac.h"
#include "opt_pfil_hooks.h"
#include <sys/param.h>