Skip to content

Commit

Permalink
fib: fix missing header includes
Browse files Browse the repository at this point in the history
[ upstream commit f5bf824 ]

Add stdint.h to get definitions of standard integer types

Fixes: 39e9272 ("fib: add FIB library")
Fixes: 40d41a8 ("fib: support IPv6")

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>
  • Loading branch information
bruce-richardson authored and cpaelzer committed Feb 3, 2021
1 parent 0a48731 commit 148a3e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/librte_fib/rte_fib.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* for IPv4 Longest Prefix Match
*/

#include <stdint.h>

#include <rte_compat.h>

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions lib/librte_fib/rte_fib6.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* for IPv6 Longest Prefix Match
*/

#include <stdint.h>

#include <rte_compat.h>

#ifdef __cplusplus
Expand Down

0 comments on commit 148a3e3

Please sign in to comment.