ll_map: use net/if.h to get prototype

Better to get prototype from system headers
This commit is contained in:
Stephen Hemminger 2013-03-27 09:28:58 -07:00
parent 3e26112a02
commit 5f21823922
1 changed files with 1 additions and 3 deletions

View File

@ -18,13 +18,11 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <linux/if.h>
#include <net/if.h>
#include "libnetlink.h"
#include "ll_map.h"
extern unsigned int if_nametoindex (const char *);
struct ll_cache
{
struct ll_cache *idx_next;