diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-09-20 17:39:44 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-09-20 17:39:44 +0000 |
commit | 253c0899b281bd86968c73b564dc636473b0445c (patch) | |
tree | a901b8dac8e1d84f40182fb6234a13aa3113602f /sys/kern/subr_diskmbr.c | |
parent | ec55e44ec8b2feba3b015c36bfb5199645f10341 (diff) | |
download | src-253c0899b281bd86968c73b564dc636473b0445c.tar.gz src-253c0899b281bd86968c73b564dc636473b0445c.zip |
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.
Notes
Notes:
svn path=/head/; revision=18429
Diffstat (limited to 'sys/kern/subr_diskmbr.c')
-rw-r--r-- | sys/kern/subr_diskmbr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c index 4610e5f60ce4..595898c11e14 100644 --- a/sys/kern/subr_diskmbr.c +++ b/sys/kern/subr_diskmbr.c @@ -35,12 +35,13 @@ * * from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91 * from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $ - * $Id: diskslice_machdep.c,v 1.19 1996/03/02 01:49:38 dyson Exp $ + * $Id: diskslice_machdep.c,v 1.20 1996/04/07 17:32:09 bde Exp $ */ #include <stddef.h> #include <sys/param.h> #include <sys/buf.h> +#include <sys/conf.h> #include <sys/disklabel.h> #define DOSPTYP_EXTENDED 5 #define DOSPTYP_ONTRACK 84 |