summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/devices.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/devices.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/devices.c')
-rw-r--r--usr.sbin/sade/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c
index c0dcc8a..2b87e1c 100644
--- a/usr.sbin/sade/devices.c
+++ b/usr.sbin/sade/devices.c
@@ -48,6 +48,7 @@
#include <netinet/in_var.h>
#include <arpa/inet.h>
#include <ctype.h>
+#include <libdisk.h>
/* how much to bias minor number for a given /dev/<ct#><un#>s<s#> slice */
#define SLICE_DELTA (0x10000)
OpenPOWER on IntegriCloud