DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] gro: fix missing includes
@ 2017-08-04 10:12 Thomas Monjalon
  2017-08-04 12:30 ` Mcnamara, John
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2017-08-04 10:12 UTC (permalink / raw)
  To: jiayu.hu; +Cc: dev

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(+)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-04 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04 10:12 [dpdk-dev] [PATCH] gro: fix missing includes Thomas Monjalon
2017-08-04 12:30 ` Mcnamara, John
2017-08-04 23:19   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).