iproute2: Support IFF_LOWER_UP and IFF_DORMANT
In order to support these new flags add current
linux/if.h into the directory with the local copies.
This caused troubles with outdated redefinitions from net/if.h
so I've removed the dependency on it.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
diff --git a/lib/ll_map.c b/lib/ll_map.c
index dee498f..c1d61a9 100644
--- a/lib/ll_map.c
+++ b/lib/ll_map.c
@@ -17,12 +17,13 @@
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <net/if.h>
#include <string.h>
#include "libnetlink.h"
#include "ll_map.h"
+extern unsigned int if_nametoindex (const char *);
+
struct idxmap
{
struct idxmap * next;