summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk
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/fdisk
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/fdisk')
-rw-r--r--sbin/fdisk/fdisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index b3145e4..59572f6 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -31,6 +31,7 @@ static const char rcsid[] =
#include <sys/disk.h>
#include <sys/disklabel.h>
+#include <sys/diskmbr.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/mount.h>
OpenPOWER on IntegriCloud