summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
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