On 15/01/2021 11:10, Bruce Richardson wrote:
Add stdint.h to get definitions of standard integer types

Fixes: 39e927248416 ("fib: add FIB library")
Fixes: 40d41a8a7b34 ("fib: support IPv6")
Cc: sta...@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richard...@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


Acked-by: Vladimir Medvedkin <vladimir.medved...@intel.com>

--
Regards,
Vladimir

Reply via email to