diff options
author | bde <bde@FreeBSD.org> | 1999-12-23 16:38:51 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-12-23 16:38:51 +0000 |
commit | 8f12d545257f871b46eca65b0e22016c402051af (patch) | |
tree | 9434cef5d93921e91c1a38c71cee5e16525ce33b /lib | |
parent | 4765c8aea8328c30e614d7fa5ea9f564bbe1d970 (diff) | |
download | FreeBSD-src-8f12d545257f871b46eca65b0e22016c402051af.zip FreeBSD-src-8f12d545257f871b46eca65b0e22016c402051af.tar.gz |
Fixed missing includes in synopsis.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/if_indextoname.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index 186ddba..0906ee0 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" |