summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 20:07:37 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 20:07:37 +0000
commit51dc67db8522c1b8bb1892510d58adfe25267e60 (patch)
tree347f86b528784f4a8d01137694623df8cba2515d /lib
parentd92a7531e29e5c40b09b72f2ed1bf69182cce1e2 (diff)
getdiskbyname(3) requires <sys/types.h>; Patrick Latifi
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getdiskbyname.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/getdiskbyname.3 b/lib/libc/gen/getdiskbyname.3
index 2438205ffec..63aeb2d952e 100644
--- a/lib/libc/gen/getdiskbyname.3
+++ b/lib/libc/gen/getdiskbyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdiskbyname.3,v 1.8 2003/06/02 20:18:34 millert Exp $
+.\" $OpenBSD: getdiskbyname.3,v 1.9 2003/08/06 20:07:36 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -34,6 +34,7 @@
.Nm getdiskbyname
.Nd get generic disk description by its name
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/disklabel.h>
.Ft struct disklabel *
.Fn getdiskbyname "const char *name"