aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-01 07:24:55 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-01 07:24:55 +0000
commit3bb24c35f2fbffed3f175dc2bc72bb2867ff1198 (patch)
tree64a86680f5023850204fec859db473fd67342761 /lib
parenteade9db908e087a44b43c9adb7fd9754322c2813 (diff)
downloadsrc-3bb24c35f2fbffed3f175dc2bc72bb2867ff1198.tar.gz
src-3bb24c35f2fbffed3f175dc2bc72bb2867ff1198.zip
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.
Notes
Notes: svn path=/head/; revision=104272
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/create_chunk.c1
-rw-r--r--lib/libdisk/disk.c1
-rw-r--r--lib/libdisk/rules.c1
-rw-r--r--lib/libdisk/write_disk.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index f4b6768a36b1..8ef3e8da37fd 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -20,6 +20,7 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
+#include <sys/diskmbr.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 28b10b9ebab5..9302a806fe3d 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -22,6 +22,7 @@ __FBSDID("$FreeBSD$");
#include <sys/ioctl.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
+#include <sys/diskmbr.h>
#include <paths.h>
#include "libdisk.h"
diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c
index 5a01e666f843..87d7e24a2974 100644
--- a/lib/libdisk/rules.c
+++ b/lib/libdisk/rules.c
@@ -17,6 +17,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/diskslice.h>
#include <sys/disklabel.h>
+#include <sys/diskmbr.h>
#include "libdisk.h"
int
diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c
index 8dd5c8e303f4..3e68474e6de1 100644
--- a/lib/libdisk/write_disk.c
+++ b/lib/libdisk/write_disk.c
@@ -20,6 +20,7 @@ __FBSDID("$FreeBSD$");
#include <sys/ioctl.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>
+#include <sys/diskmbr.h>
#include <paths.h>
#include "libdisk.h"