Thread (165 messages) 165 messages, 13 authors, 2021-02-22

[dpdk-dev] [PATCH v6 3/8] rib: fix missing header include

From: Bruce Richardson <hidden>
Date: 2021-01-27 17:34:04
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

The rte_rib6 header was using RTE_MIN macro from rte_common.h but not
including the header file.

Fixes: f7e861e21c46 ("rib: support IPv6")
Cc: vladimir.medvedkin@intel.com

Signed-off-by: Bruce Richardson <redacted>
Acked-by: Vladimir Medvedkin <redacted>
---
 lib/librte_rib/rte_rib6.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/lib/librte_rib/rte_rib6.h b/lib/librte_rib/rte_rib6.h
index b5e10569b9..dbd52928a2 100644
--- a/lib/librte_rib/rte_rib6.h
+++ b/lib/librte_rib/rte_rib6.h
@@ -20,6 +20,7 @@
 
 #include <rte_memcpy.h>
 #include <rte_compat.h>
+#include <rte_common.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.27.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help