summaryrefslogtreecommitdiff
path: root/lib/libutil/readlabel.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-18 19:57:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-18 19:57:30 +0000
commitdd0ec6448fecf01513af400efb8df4fe691d5b20 (patch)
tree088eca3ded1e5d658d3d1737542f50b2eb905a5f /lib/libutil/readlabel.c
parentaf7c346d7069da79178d3d96806aaadfa5389ba4 (diff)
-Wall
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>