summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenys Vlasenko2013-07-28 23:24:55 +0200
committerDenys Vlasenko2013-07-28 23:24:55 +0200
commit2ead5316b48ce85db483d9d6f3f4a59c9f38fe21 (patch)
treee15e3336f2b043223bf984ff61c45b63e348f09b /networking/libiproute
parent2641426187550fb2ba10f249a97e994fec26848a (diff)
downloadbusybox-2ead5316b48ce85db483d9d6f3f4a59c9f38fe21.zip
busybox-2ead5316b48ce85db483d9d6f3f4a59c9f38fe21.tar.gz
iplink: fix build error (IFLA_VLAN_PROTOCOL defined before include)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iplink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 45cad71..a686eb2 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -11,6 +11,10 @@
#include <netinet/if_ether.h>
#include <linux/if_vlan.h>
+#include "ip_common.h" /* #include "libbb.h" is inside */
+#include "rt_names.h"
+#include "utils.h"
+
#undef ETH_P_8021AD
#define ETH_P_8021AD 0x88A8
#undef VLAN_FLAG_REORDER_HDR
@@ -24,10 +28,6 @@
#undef IFLA_VLAN_PROTOCOL
#define IFLA_VLAN_PROTOCOL 5
-#include "ip_common.h" /* #include "libbb.h" is inside */
-#include "rt_names.h"
-#include "utils.h"
-
#ifndef IFLA_LINKINFO
# define IFLA_LINKINFO 18
# define IFLA_INFO_KIND 1