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 45cad711bb580ea3a5c8be87c06a4ec8758a8d11..a686eb201cda5f8cb19850101a984a5dde4c7769 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