aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linprocfs
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
commit4b79449e2fb67cb37c4c9f46d31791893a39ddd8 (patch)
treee9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/modules/linprocfs
parent8372089626dc6aee37d4f3a66c0f1a030bec912a (diff)
Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation
Notes
svn path=/head/; revision=185571
Diffstat (limited to 'sys/modules/linprocfs')
-rw-r--r--sys/modules/linprocfs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index 9b89c96aa56d..a7cb129defa5 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -5,7 +5,8 @@
KMOD= linprocfs
SRCS= vnode_if.h \
linprocfs.c \
- opt_compat.h
+ opt_compat.h \
+ opt_route.h
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+=-DCOMPAT_LINUX32