aboutsummaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sbin/disklabel/disklabel.c
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
Diffstat (limited to 'sbin/disklabel/disklabel.c')
-rw-r--r--sbin/disklabel/disklabel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index 801dbc399a25..f8810370dd6a 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -63,8 +63,10 @@ static char sccsid[] = "@(#)disklabel.c 5.20 (Berkeley) 2/9/91";
#include <sys/disklabel.h>
#include <stdio.h>
#include <ctype.h>
+#include <unistd.h>
#include "pathnames.h"
+
/*
* Disklabel: read and write disklabels.
* The label is usually placed on one of the first sectors of the disk.
@@ -367,7 +369,6 @@ writelabel(f, boot, lp)
{
register int i;
int flag;
- off_t lseek();
#ifdef __386BSD__
off_t lbl_off; struct partition *pp = lp->d_partitions;
#endif