From c48648d2c1cb8113ee154e74d488264f70821e35 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 23 Nov 2005 10:49:07 +0000 Subject: [PATCH] Add missing includes. --- lib/libc/net/if_indextoname.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index b1d1688081e5..715c33cfedcd 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/lib/libc/net/if_indextoname.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 15, 2002 +.Dd November 23, 2005 .Dt IF_NAMETOINDEX 3 .Os .Sh NAME @@ -34,6 +34,8 @@ .Nm if_freenameindex .Nd provide mappings between interface names and indexes .Sh SYNOPSIS +.In sys/types.h +.In sys/socket.h .In net/if.h .Ft "unsigned int" .Fn if_nametoindex "const char *ifname"