aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/libiproute/iproute.c1
-rw-r--r--networking/libiproute/ll_addr.c3
-rw-r--r--networking/libiproute/ll_proto.c2
-rw-r--r--networking/libiproute/ll_types.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 7b5130050..cb750e628 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -22,6 +22,7 @@
#include "rt_names.h"
#include "utils.h"
+#include "ip_common.h"
#include "libbb.h"
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c
index ada685f4e..c4c446463 100644
--- a/networking/libiproute/ll_addr.c
+++ b/networking/libiproute/ll_addr.c
@@ -12,7 +12,10 @@
#include <arpa/inet.h>
#include <string.h>
#include <net/if_arp.h>
+
+#include "rt_names.h"
#include "utils.h"
+
#include "libbb.h"
const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c
index 873253050..9ee5ab23f 100644
--- a/networking/libiproute/ll_proto.c
+++ b/networking/libiproute/ll_proto.c
@@ -12,6 +12,8 @@
#include <stdio.h>
#include <arpa/inet.h>
#include <string.h>
+
+#include "rt_names.h"
#include "utils.h"
#if __GLIBC__ >=2 && __GLIBC_MINOR >= 1
diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c
index fc5a01530..a38ecc7c0 100644
--- a/networking/libiproute/ll_types.c
+++ b/networking/libiproute/ll_types.c
@@ -13,6 +13,8 @@
#include <linux/if_arp.h>
+#include "rt_names.h"
+
const char * ll_type_n2a(int type, char *buf, int len)
{
#define __PF(f,n) { ARPHRD_##f, #n },