diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-03-27 09:28:58 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2013-03-27 09:28:58 -0700 |
commit | 5f21823922ca1aabb47fb837260e541db34de79a (patch) | |
tree | 30da780d9090af75513031d790e68bcf1de2359f | |
parent | 3e26112a02a25b8f4ba3860f28ff8c6850fbed43 (diff) | |
download | platform_external_iproute2-5f21823922ca1aabb47fb837260e541db34de79a.tar.gz platform_external_iproute2-5f21823922ca1aabb47fb837260e541db34de79a.tar.bz2 platform_external_iproute2-5f21823922ca1aabb47fb837260e541db34de79a.zip |
ll_map: use net/if.h to get prototype
Better to get prototype from system headers
-rw-r--r-- | lib/ll_map.c | 4 |
1 files changed, 1 insertions, 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 <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; |