iplink: fix build error (IFLA_VLAN_PROTOCOL defined before include)
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Jul 2013 21:24:55 +0000 (23:24 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Jul 2013 21:24:55 +0000 (23:24 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/iplink.c

index 45cad71..a686eb2 100644 (file)
 #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
 #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