summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-12-23 16:38:51 +0000
committerBruce Evans <bde@FreeBSD.org>1999-12-23 16:38:51 +0000
commit6785844d79ddc52b1718038d2216eb9569226a6d (patch)
tree456d86ee12d0f19467530d4be26b8c42811e55d4 /lib/libc
parente395da92c4aa45dd85d36b8e765737da9ba9f167 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/if_indextoname.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3
index 186ddba80faf..0906ee01f749 100644
--- a/lib/libc/net/if_indextoname.3
+++ b/lib/libc/net/if_indextoname.3
@@ -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"