Fixed missing includes in synopsis.

This commit is contained in:
Bruce Evans 1999-12-23 16:38:51 +00:00
parent e395da92c4
commit 6785844d79

View File

@ -42,6 +42,8 @@
.Nm if_freenameindex
.Nd convert interface index to name, and vice versa
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <net/if.h>
.Ft "unsigned int"
.Fn if_nametoindex "const char *ifname"