summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2010-06-28 19:12:30 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2010-06-28 19:12:30 +0000
commit3cec792b084a9a7b4953a70707433cea809563c5 (patch)
tree9b1da214fc8e4495cc9fe664cfd4e1212aec68b7 /lib
parent22b0156759c053e251b29ef230ddf75b9e45d9f4 (diff)
add missing headers needed for close() and ioctl().
ok krw@ millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/opendev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/opendev.c b/lib/libutil/opendev.c
index 6d1c6cac059..53c3c537bfe 100644
--- a/lib/libutil/opendev.c
+++ b/lib/libutil/opendev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opendev.c,v 1.9 2010/06/18 17:03:06 jsing Exp $ */
+/* $OpenBSD: opendev.c,v 1.10 2010/06/28 19:12:29 chl Exp $ */
/*
* Copyright (c) 2000, Todd C. Miller. All rights reserved.
@@ -32,7 +32,9 @@
#include <paths.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
#include <sys/limits.h>
#include <sys/disk.h>
#include <sys/dkio.h>