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