summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Moos <nmoos@cisco.com>2021-01-15 14:47:24 -0800
committerFlorin Coras <florin.coras@gmail.com>2021-01-21 01:36:30 +0000
commit1550907d0a39763ae7a03dfd166b40bb63d4219a (patch)
tree777e7b1517bbb864de85cb28b3a0f242d3902f18
parent4d084079cd9ec79578f616c965ca11d5c2e410c3 (diff)
fib: fix includes for musl
Type: fix When building with musl, the type `uint` is not available unless you include <sys/types.h>. Signed-off-by: Nathan Moos <nmoos@cisco.com> Change-Id: I0003b0c373d9fd532b4135c43d78f36d6cd7afa4
-rw-r--r--src/vnet/fib/fib_walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_walk.c b/src/vnet/fib/fib_walk.c
index 7c832df0ae4..b3b2b1e7944 100644
--- a/src/vnet/fib/fib_walk.c
+++ b/src/vnet/fib/fib_walk.c
@@ -338,7 +338,7 @@ fib_walk_advance (fib_node_index_t fwi)
fib_node_back_walk_rc_t wrc;
fib_node_ptr_t sibling;
fib_walk_t *fwalk;
- uint n_ctxs, ii;
+ u32 n_ctxs, ii;
int more_elts;
/*