summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot0cfg
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-01 07:24:55 +0000
committerphk <phk@FreeBSD.org>2002-10-01 07:24:55 +0000
commit19150ba4f87b68b4bee90b657affe9c3181a6a37 (patch)
tree64a86680f5023850204fec859db473fd67342761 /usr.sbin/boot0cfg
parent85e12cff3b67d0264814b00c269cdae05b684f62 (diff)
downloadFreeBSD-src-19150ba4f87b68b4bee90b657affe9c3181a6a37.zip
FreeBSD-src-19150ba4f87b68b4bee90b657affe9c3181a6a37.tar.gz
Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h. These two new copies are still intact copies of disklabel.h and therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them in programs which already include <sys.disklabel.h> is currently a no-op. This commit adds a number of such #includes. Once I have verified that I have fixed all the places which need fixing, I will commit the updated versions of the three #include files. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'usr.sbin/boot0cfg')
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c
index 8dfd9b1..d2ad26b 100644
--- a/usr.sbin/boot0cfg/boot0cfg.c
+++ b/usr.sbin/boot0cfg/boot0cfg.c
@@ -31,6 +31,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/disklabel.h>
+#include <sys/diskmbr.h>
#include <sys/stat.h>
#include <err.h>
OpenPOWER on IntegriCloud