summaryrefslogtreecommitdiff
path: root/lib/libutil/readlabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/readlabel.c')
-rw-r--r--lib/libutil/readlabel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/readlabel.c b/lib/libutil/readlabel.c
index 906d6ba1401..7b921f6b9da 100644
--- a/lib/libutil/readlabel.c
+++ b/lib/libutil/readlabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readlabel.c,v 1.3 1996/12/23 07:43:42 downsj Exp $ */
+/* $OpenBSD: readlabel.c,v 1.4 1997/11/18 19:57:29 millert Exp $ */
/*
* Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -32,10 +32,12 @@
#include <fcntl.h>
#include <paths.h>
#include <string.h>
+#include <unistd.h>
#include <util.h>
#include <sys/dkio.h>
#define DKTYPENAMES
#include <sys/disklabel.h>
+#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/stat.h>