[dpdk-dev] gro: fix missing includes
Checks
Commit Message
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@monjalon.net>
---
lib/librte_gro/rte_gro.h | 3 +++
1 file changed, 3 insertions(+)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Friday, August 4, 2017 11:12 AM
> To: Hu, Jiayu <jiayu.hu@intel.com>
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] gro: fix missing includes
>
> 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@monjalon.net>
Acked-by: John McNamara <john.mcnamara@intel.com>
> > 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@monjalon.net>
>
> Acked-by: John McNamara <john.mcnamara@intel.com>
Applied
@@ -38,6 +38,9 @@
* Interface to GRO library
*/
+#include <stdint.h>
+#include <rte_mbuf.h>
+
#ifdef __cplusplus
extern "C" {
#endif