From: Stephen Hemminger Date: Wed, 27 Mar 2013 16:28:58 +0000 (-0700) Subject: ll_map: use net/if.h to get prototype X-Git-Tag: v3.9.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f21823922ca1aabb47fb837260e541db34de79a;p=thirdparty%2Fiproute2.git ll_map: use net/if.h to get prototype Better to get prototype from system headers --- diff --git a/lib/ll_map.c b/lib/ll_map.c index 1c330020a..e9ae12961 100644 --- a/lib/ll_map.c +++ b/lib/ll_map.c @@ -18,13 +18,11 @@ #include #include #include -#include +#include #include "libnetlink.h" #include "ll_map.h" -extern unsigned int if_nametoindex (const char *); - struct ll_cache { struct ll_cache *idx_next;