aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_capability.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2014-03-16 10:55:57 +0000
committerRobert Watson <rwatson@FreeBSD.org>2014-03-16 10:55:57 +0000
commit4a14441044e0bdb55c81010ea92b24d87c25ee56 (patch)
tree33c10255950e4922f9ee4bc63543bd5dd3cd9f77 /sys/kern/subr_capability.c
parentb1f78b60bfdaf18119abbb453f46f13052c8739a (diff)
downloadsrc-4a14441044e0bdb55c81010ea92b24d87c25ee56.tar.gz
src-4a14441044e0bdb55c81010ea92b24d87c25ee56.zip
Update kernel inclusions of capability.h to use capsicum.h instead; some
further refinement is required as some device drivers intended to be portable over FreeBSD versions rely on __FreeBSD_version to decide whether to include capability.h. MFC after: 3 weeks
Notes
Notes: svn path=/head/; revision=263233
Diffstat (limited to 'sys/kern/subr_capability.c')
-rw-r--r--sys/kern/subr_capability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_capability.c b/sys/kern/subr_capability.c
index ce41f4a46b55..1504435eb13f 100644
--- a/sys/kern/subr_capability.c
+++ b/sys/kern/subr_capability.c
@@ -36,13 +36,13 @@ __FBSDID("$FreeBSD$");
#ifdef _KERNEL
#include <sys/types.h>
-#include <sys/capability.h>
+#include <sys/capsicum.h>
#include <sys/systm.h>
#include <machine/stdarg.h>
#else /* !_KERNEL */
#include <sys/types.h>
-#include <sys/capability.h>
+#include <sys/capsicum.h>
#include <assert.h>
#include <stdarg.h>