summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disklabel.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-20 17:39:44 +0000
committerbde <bde@FreeBSD.org>1996-09-20 17:39:44 +0000
commit7ac8c0c4b9087b9e3f5e23b19aa6e918844b63ab (patch)
treea901b8dac8e1d84f40182fb6234a13aa3113602f /sys/kern/subr_disklabel.c
parent4d197a331f4ccecd9f1e2bba6d6b74ab0d65528d (diff)
downloadFreeBSD-src-7ac8c0c4b9087b9e3f5e23b19aa6e918844b63ab.zip
FreeBSD-src-7ac8c0c4b9087b9e3f5e23b19aa6e918844b63ab.tar.gz
Don't include <sys/conf.h> for the kernel in disk-related headers.
It is needed for implementation details but very little of it is needed for the interface. Include it in the few places that didn't already include it. Include <sys/ioccom.h> in <sys/disklabel.h> (as already in <sys/diskslice.h>) so that all the disk-related headers are almost self-sufficient.
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r--sys/kern/subr_disklabel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index 7026b91..c5ae8a8 100644
--- a/sys/kern/subr_disklabel.c
+++ b/sys/kern/subr_disklabel.c
@@ -36,12 +36,13 @@
* SUCH DAMAGE.
*
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
- * $Id: ufs_disksubr.c,v 1.24 1996/05/03 15:05:17 phk Exp $
+ * $Id: ufs_disksubr.c,v 1.25 1996/05/08 04:29:08 gpalmer Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
+#include <sys/conf.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
#include <sys/syslog.h>
OpenPOWER on IntegriCloud