diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-07-28 23:24:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-07-28 23:24:55 +0200 |
commit | 2ead5316b48ce85db483d9d6f3f4a59c9f38fe21 (patch) | |
tree | e15e3336f2b043223bf984ff61c45b63e348f09b | |
parent | 2641426187550fb2ba10f249a97e994fec26848a (diff) | |
download | busybox-w32-2ead5316b48ce85db483d9d6f3f4a59c9f38fe21.tar.gz busybox-w32-2ead5316b48ce85db483d9d6f3f4a59c9f38fe21.tar.bz2 busybox-w32-2ead5316b48ce85db483d9d6f3f4a59c9f38fe21.zip |
iplink: fix build error (IFLA_VLAN_PROTOCOL defined before include)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/libiproute/iplink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 45cad711b..a686eb201 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -11,6 +11,10 @@ | |||
11 | #include <netinet/if_ether.h> | 11 | #include <netinet/if_ether.h> |
12 | 12 | ||
13 | #include <linux/if_vlan.h> | 13 | #include <linux/if_vlan.h> |
14 | #include "ip_common.h" /* #include "libbb.h" is inside */ | ||
15 | #include "rt_names.h" | ||
16 | #include "utils.h" | ||
17 | |||
14 | #undef ETH_P_8021AD | 18 | #undef ETH_P_8021AD |
15 | #define ETH_P_8021AD 0x88A8 | 19 | #define ETH_P_8021AD 0x88A8 |
16 | #undef VLAN_FLAG_REORDER_HDR | 20 | #undef VLAN_FLAG_REORDER_HDR |
@@ -24,10 +28,6 @@ | |||
24 | #undef IFLA_VLAN_PROTOCOL | 28 | #undef IFLA_VLAN_PROTOCOL |
25 | #define IFLA_VLAN_PROTOCOL 5 | 29 | #define IFLA_VLAN_PROTOCOL 5 |
26 | 30 | ||
27 | #include "ip_common.h" /* #include "libbb.h" is inside */ | ||
28 | #include "rt_names.h" | ||
29 | #include "utils.h" | ||
30 | |||
31 | #ifndef IFLA_LINKINFO | 31 | #ifndef IFLA_LINKINFO |
32 | # define IFLA_LINKINFO 18 | 32 | # define IFLA_LINKINFO 18 |
33 | # define IFLA_INFO_KIND 1 | 33 | # define IFLA_INFO_KIND 1 |