[PATCH] gro: fix missing includes

Subsystems: library code, the rest

STALE3295d

3 messages, 2 authors, 2017-08-04 · open the first message on its own page

[PATCH] gro: fix missing includes

From: Thomas Monjalon <hidden>
Date: 2017-08-04 10:12:49

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 <redacted>
---
 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

Re: [PATCH] gro: fix missing includes

From: Mcnamara, John <hidden>
Date: 2017-08-04 12:30:55

-----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 <redacted>
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 <redacted>

Acked-by: John McNamara <redacted>

Re: [PATCH] gro: fix missing includes

From: Thomas Monjalon <hidden>
Date: 2017-08-04 23:19:57

quoted
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 <redacted>
Acked-by: John McNamara <redacted>
Applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help