[dpdk-dev] [PATCH 11/20] fib: fix missing header includes
Bruce Richardson
bruce.richardson at intel.com
Thu Jan 14 12:05:57 CET 2021
Add stdint.h to get definitions of standard integer types
Fixes: 39e927248416 ("fib: add FIB library")
Fixes: 40d41a8a7b34 ("fib: support IPv6")
Cc: stable at dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
lib/librte_fib/rte_fib.h | 1 +
lib/librte_fib/rte_fib6.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/librte_fib/rte_fib.h b/lib/librte_fib/rte_fib.h
index fef0749525..352c5e00ad 100644
--- a/lib/librte_fib/rte_fib.h
+++ b/lib/librte_fib/rte_fib.h
@@ -19,6 +19,7 @@
* for IPv4 Longest Prefix Match
*/
+#include <stdint.h>
#include <rte_compat.h>
#ifdef __cplusplus
diff --git a/lib/librte_fib/rte_fib6.h b/lib/librte_fib/rte_fib6.h
index 668bffb2ba..60213f3372 100644
--- a/lib/librte_fib/rte_fib6.h
+++ b/lib/librte_fib/rte_fib6.h
@@ -19,6 +19,7 @@
* for IPv6 Longest Prefix Match
*/
+#include <stdint.h>
#include <rte_compat.h>
#ifdef __cplusplus
--
2.27.0
More information about the dev
mailing list