Skip to contentSkip to conversation

gro: fix missing includes

PATCH In review Thomas Monjalon 2 participants 3 messages Aug 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 lib/librte_gro/rte_gro.h | 3 +++
 1 file changed, 3 insertions(+)
lib/librte_gro/rte_gro.h +3 -0
index 69721a9c0..d57e0c5f9 100644
@@ -38,6 +38,9 @@
  * Interface to GRO library
  */
 
+#include <stdint.h>
+#include <rte_mbuf.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
Signature · 1 line
2.13.2
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas Monjalon
Sent: Friday, August 4, 2017 11:12 AM
To: Hu, Jiayu <[email protected]>
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] gro: fix missing includes

Quoted 7 lines

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")