From 5f21823922ca1aabb47fb837260e541db34de79a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 27 Mar 2013 09:28:58 -0700 Subject: [PATCH] ll_map: use net/if.h to get prototype Better to get prototype from system headers --- lib/ll_map.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ll_map.c b/lib/ll_map.c index 1c330020..e9ae1296 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;