[dpdk-dev] [PATCH] gro: fix missing includes
Thomas Monjalon
thomas at monjalon.net
Fri Aug 4 12:12:27 CEST 2017
The GRO header file depends on stdint and mbuf.
Spotted with devtools/check-includes.sh
Fixes: e996506a1c07 ("lib/gro: add Generic Receive Offload API framework")
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
lib/librte_gro/rte_gro.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/librte_gro/rte_gro.h b/lib/librte_gro/rte_gro.h
index 69721a9c0..d57e0c5f9 100644
--- a/lib/librte_gro/rte_gro.h
+++ b/lib/librte_gro/rte_gro.h
@@ -38,6 +38,9 @@
* Interface to GRO library
*/
+#include <stdint.h>
+#include <rte_mbuf.h>
+
#ifdef __cplusplus
extern "C" {
#endif
--
2.13.2
More information about the dev
mailing list