summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
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 /sbin/bsdlabel
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 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index 17c24d9..81efae5 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
#define DKTYPENAMES
#define FSTYPENAMES
#include <sys/disklabel.h>
+#include <sys/diskmbr.h>
#ifdef __sparc64__
#include <sys/sun_disklabel.h>
#endif
OpenPOWER on IntegriCloud