net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / rte_ether.h
index 737a261..0ec89a1 100644 (file)
@@ -23,6 +23,10 @@ extern "C" {
 #include <rte_mbuf.h>
 #include <rte_byteorder.h>
 
+#ifndef RTE_NET_NO_COMPAT
+#include <rte_ether_compat.h>
+#endif
+
 #define RTE_ETHER_ADDR_LEN  6 /**< Length of Ethernet address. */
 #define RTE_ETHER_TYPE_LEN  2 /**< Length of Ethernet type field. */
 #define RTE_ETHER_CRC_LEN   4 /**< Length of Ethernet CRC. */