summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockname.2
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 21:48:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-15 21:48:58 +0000
commita7da00813e5cf8471d8e2562f51e2462e6974906 (patch)
tree0b84b56f8aa7f9a0cdc1c5011eb44af0dfdc60fd /lib/libc/sys/getsockname.2
parent30730f692e7606a10d47aebf4c9a82686d0c0a2d (diff)
must include <sys/types.h> before <sys.socket.h>
Diffstat (limited to 'lib/libc/sys/getsockname.2')
-rw-r--r--lib/libc/sys/getsockname.23
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index 3e4c054e3e4..b8d545b8c85 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockname.2,v 1.6 1999/02/15 19:04:20 millert Exp $
+.\" $OpenBSD: getsockname.2,v 1.7 1999/02/15 21:48:57 millert Exp $
.\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -41,6 +41,7 @@
.Nm getsockname
.Nd get socket name
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn getsockname "int s" "struct sockaddr *name" "socklen_t *namelen"