summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2013-06-04 06:38:01 +0000
committerobrien <obrien@FreeBSD.org>2013-06-04 06:38:01 +0000
commite5e0ffd0445428cb51774655224c6f148647405a (patch)
tree651127d9bdfc4e9cb683a6d7b800a2240976c2ae /sys
parent7c42edf9b86982c587f5b931ec599efa00ae877f (diff)
downloadFreeBSD-src-e5e0ffd0445428cb51774655224c6f148647405a.zip
FreeBSD-src-e5e0ffd0445428cb51774655224c6f148647405a.tar.gz
Match the options of the kernel.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/filemon/filemon.c5
-rw-r--r--sys/dev/filemon/filemon_wrapper.c2
-rw-r--r--sys/modules/filemon/Makefile2
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/filemon/filemon.c b/sys/dev/filemon/filemon.c
index 0108ed1..8b562e3 100644
--- a/sys/dev/filemon/filemon.c
+++ b/sys/dev/filemon/filemon.c
@@ -25,10 +25,11 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include <sys/param.h>
__FBSDID("$FreeBSD$");
-#include <sys/param.h>
+#include "opt_compat.h"
+
#include <sys/file.h>
#include <sys/systm.h>
#include <sys/buf.h>
diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c
index 8ea2cb6..83ff94f 100644
--- a/sys/dev/filemon/filemon_wrapper.c
+++ b/sys/dev/filemon/filemon_wrapper.c
@@ -28,6 +28,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_compat.h"
+
#if __FreeBSD_version > 800032
#define FILEMON_HAS_LINKAT
#endif
diff --git a/sys/modules/filemon/Makefile b/sys/modules/filemon/Makefile
index e6df2bc..80cc0a0 100644
--- a/sys/modules/filemon/Makefile
+++ b/sys/modules/filemon/Makefile
@@ -4,6 +4,6 @@
KMOD= filemon
SRCS= ${KMOD}.c
-SRCS+= vnode_if.h opt_compat.h opt_capsicum.h
+SRCS+= opt_compat.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud