summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/wizard.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-02 23:18:48 +0000
committermarcel <marcel@FreeBSD.org>2004-08-02 23:18:48 +0000
commit52fb831b82022a893b74412dda293acb18c69461 (patch)
tree2aea3fc90d01261cc58d69205197a7df3c56c9c2 /usr.sbin/sade/wizard.c
parent4cf054f84734b1dcf77bee5272ca96495bd4bfd0 (diff)
downloadFreeBSD-src-52fb831b82022a893b74412dda293acb18c69461.zip
FreeBSD-src-52fb831b82022a893b74412dda293acb18c69461.tar.gz
Move the inclusion of libdisk.h from sysinstall.h to the source files
that actually need it. This makes it easier for a platform porter to find the files that may need tweaking to support whatever MD specific partitioning is needed. It also helps to prevent that the libdisk API gets exposed and/or used where it's not needed.
Diffstat (limited to 'usr.sbin/sade/wizard.c')
-rw-r--r--usr.sbin/sade/wizard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sade/wizard.c b/usr.sbin/sade/wizard.c
index 3a07887..98e0a5c 100644
--- a/usr.sbin/sade/wizard.c
+++ b/usr.sbin/sade/wizard.c
@@ -13,6 +13,7 @@
#include "sysinstall.h"
#include <fcntl.h>
#include <err.h>
+#include <libdisk.h>
int
scan_block(int fd, daddr_t block)
OpenPOWER on IntegriCloud