Fixed missing includes in synopsis.
This commit is contained in:
parent
e395da92c4
commit
6785844d79
@ -42,6 +42,8 @@
|
|||||||
.Nm if_freenameindex
|
.Nm if_freenameindex
|
||||||
.Nd convert interface index to name, and vice versa
|
.Nd convert interface index to name, and vice versa
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
|
.Fd #include <sys/types.h>
|
||||||
|
.Fd #include <sys/socket.h>
|
||||||
.Fd #include <net/if.h>
|
.Fd #include <net/if.h>
|
||||||
.Ft "unsigned int"
|
.Ft "unsigned int"
|
||||||
.Fn if_nametoindex "const char *ifname"
|
.Fn if_nametoindex "const char *ifname"
|
||||||
|
Loading…
Reference in New Issue
Block a user