Commit 5f218239 authored by Stephen Hemminger's avatar Stephen Hemminger

ll_map: use net/if.h to get prototype

Better to get prototype from system headers
parent 3e26112a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment