diff options
author | bde <bde@FreeBSD.org> | 1996-09-20 17:39:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-20 17:39:44 +0000 |
commit | 7ac8c0c4b9087b9e3f5e23b19aa6e918844b63ab (patch) | |
tree | a901b8dac8e1d84f40182fb6234a13aa3113602f /sys/kern/subr_diskmbr.c | |
parent | 4d197a331f4ccecd9f1e2bba6d6b74ab0d65528d (diff) | |
download | FreeBSD-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_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 4610e5f..595898c 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 |