summaryrefslogtreecommitdiff
path: root/lib/librte_reorder
diff options
context:
space:
mode:
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>2016-09-08 14:25:07 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-09-13 15:35:28 +0200
commitf04519d8092ee582265506fedaf3443ee439f9bf (patch)
tree09a69a7c48402ee2a55a0a5bd786cd869c15e79f /lib/librte_reorder
parent79d6f5fc5858743b654650d8b8cf4efee55d1ae8 (diff)
downloaddpdk-f04519d8092ee582265506fedaf3443ee439f9bf.zip
dpdk-f04519d8092ee582265506fedaf3443ee439f9bf.tar.gz
dpdk-f04519d8092ee582265506fedaf3443ee439f9bf.tar.xz
lib: add missing include dependencies
Exported header files for use by applications should be self sufficient and allow out of order inclusion. Moreover, they must include all the system headers they need for types and macros. This commit prevents the following errors: error: `RTE_MAX_LCORE' undeclared here (not in a function) error: `RTE_LPM_VALID_EXT_ENTRY_BITMASK' undeclared (first use in this function) error: #error "Unsupported cache line size" error: `asm' undeclared (first use in this function) error: implicit declaration of function `[...]' error: unknown type name `[...]' error: field `mac_addr' has incomplete type error: `CHAR_BIT' undeclared here (not in a function) error: `struct [...]' declared inside parameter list error: unknown type name `uint8_t' Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'lib/librte_reorder')
-rw-r--r--lib/librte_reorder/rte_reorder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_reorder/rte_reorder.h b/lib/librte_reorder/rte_reorder.h
index c7a2934..737e055 100644
--- a/lib/librte_reorder/rte_reorder.h
+++ b/lib/librte_reorder/rte_reorder.h
@@ -44,6 +44,8 @@
*
*/
+#include <rte_mbuf.h>
+
#ifdef __cplusplus
extern "C" {
#endif