rib: fix missing header includes
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:39 +0000 (11:10 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:27:47 +0000 (10:27 +0100)
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 <bruce.richardson@intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_rib/rte_rib.h

index f80752e..ec97079 100644 (file)
@@ -18,6 +18,9 @@
  * Level compressed tree implementation for IPv4 Longest Prefix Match
  */
 
+#include <stdlib.h>
+#include <stdint.h>
+
 #include <rte_compat.h>
 
 #ifdef __cplusplus