From 1fe796a5c3283fd9badf6d524b5108aa39a3a1f9 Mon Sep 17 00:00:00 2001 From: mpp Date: Thu, 22 Aug 1996 20:49:57 +0000 Subject: [PATCH] List all of the include files required for getpeername and getsockname. Closes PR# 1170. Submitted by: James Raynard --- lib/libc/sys/getpeername.2 | 2 ++ lib/libc/sys/getsockname.2 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 5ca0a443c326..99672947b2a5 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -38,6 +38,8 @@ .Nm getpeername .Nd get name of connected peer .Sh SYNOPSIS +.Fd #include +.Fd #include .Ft int .Fn getpeername "int s" "struct sockaddr *name" "int *namelen" .Sh DESCRIPTION diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index e053b4768e7b..a5c75884e1b9 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -38,6 +38,8 @@ .Nm getsockname .Nd get socket name .Sh SYNOPSIS +.Fd #include +.Fd #include .Ft int .Fn getsockname "int s" "struct sockaddr *name" "int *namelen" .Sh DESCRIPTION