summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-06 22:00:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-06 22:00:19 +0000
commitd0f6aa937b39acfa62022b472c12783bb67f0e6f (patch)
tree8ca05f0a58b9864b982fcb77a3de032a88bb80fb /lib/libc
parent9d54c70dac7c304488d65fa39fafc12b7172a3e5 (diff)
fix includes; bde
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.35
-rw-r--r--lib/libc/net/getnameinfo.33
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 6bf86d48cf3..a3855a7c55d 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.3 1999/07/05 04:40:59 aaron Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.4 2000/01/06 22:00:17 deraadt Exp $
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -31,7 +31,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95
-.\" $Id: getaddrinfo.3,v 1.3 1999/07/05 04:40:59 aaron Exp $
+.\" $Id: getaddrinfo.3,v 1.4 2000/01/06 22:00:17 deraadt Exp $
.\"
.Dd May 25, 1995
.Dt GETADDRINFO 3
@@ -42,6 +42,7 @@
.Nm gai_strerror
.Nd nodename-to-address translation in protocol-independent manner
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.Ft int
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index dd1ff6b9473..98e4c2e8667 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95
-.\" $Id: getnameinfo.3,v 1.2 1999/07/05 04:40:59 aaron Exp $
+.\" $Id: getnameinfo.3,v 1.3 2000/01/06 22:00:18 deraadt Exp $
.\"
.Dd May 25, 1995
.Dt GETNAMEINFO 3
@@ -39,6 +39,7 @@
.Nm getnameinfo
.Nd address-to-nodename translation in protocol-independent manner
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.Ft int