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

[dpdk-dev] [PATCH 08/20] rib: fix missing header includes

From: Bruce Richardson <hidden>
Date: 2021-01-14 11:07:25
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

The standard integer types, and the size_t types are missing their
required header includes in the rib header file.

Fixes: 5a5793a5ffa2 ("rib: add RIB library")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <redacted>
---
 lib/librte_rib/rte_rib.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/lib/librte_rib/rte_rib.h b/lib/librte_rib/rte_rib.h
index f80752e5bd..6253860523 100644
--- a/lib/librte_rib/rte_rib.h
+++ b/lib/librte_rib/rte_rib.h
@@ -18,6 +18,8 @@
  * Level compressed tree implementation for IPv4 Longest Prefix Match
  */
 
+#include <stdlib.h>
+#include <stdint.h>
 #include <rte_compat.h>
 
 #ifdef __cplusplus
-- 
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