iplink: fix build error (IFLA_VLAN_PROTOCOL defined before include)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -11,6 +11,10 @@
|
|||||||
#include <netinet/if_ether.h>
|
#include <netinet/if_ether.h>
|
||||||
|
|
||||||
#include <linux/if_vlan.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
|
#undef ETH_P_8021AD
|
||||||
#define ETH_P_8021AD 0x88A8
|
#define ETH_P_8021AD 0x88A8
|
||||||
#undef VLAN_FLAG_REORDER_HDR
|
#undef VLAN_FLAG_REORDER_HDR
|
||||||
@@ -24,10 +28,6 @@
|
|||||||
#undef IFLA_VLAN_PROTOCOL
|
#undef IFLA_VLAN_PROTOCOL
|
||||||
#define IFLA_VLAN_PROTOCOL 5
|
#define IFLA_VLAN_PROTOCOL 5
|
||||||
|
|
||||||
#include "ip_common.h" /* #include "libbb.h" is inside */
|
|
||||||
#include "rt_names.h"
|
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
#ifndef IFLA_LINKINFO
|
#ifndef IFLA_LINKINFO
|
||||||
# define IFLA_LINKINFO 18
|
# define IFLA_LINKINFO 18
|
||||||
# define IFLA_INFO_KIND 1
|
# define IFLA_INFO_KIND 1
|
||||||
|
Reference in New Issue
Block a user