]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - lib/ll_map.c
ll_map: use net/if.h to get prototype
[mirror_iproute2.git] / lib / ll_map.c
index 1c330020a392bc2376f89dad033be77e48611049..e9ae129611e581faa12f37ae9bbd59ea95ddf9d8 100644 (file)
 #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;