From edca8c6e753380f12d23e9ee4e0a9be4e24c43a8 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 28 Apr 2021 17:30:51 +0200 Subject: vppinfra: don't fail if config.h is missing, fallback to defaults instead Type: improvement Change-Id: Idc82d40a16cbc8a401a8fb359bc63083f47361b9 Signed-off-by: Damjan Marion --- src/vppinfra/vec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vppinfra/vec.c') diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c index e98b5825156..970f7f7bfa8 100644 --- a/src/vppinfra/vec.c +++ b/src/vppinfra/vec.c @@ -38,6 +38,10 @@ #include #include +#ifndef CLIB_VECTOR_GROW_BY_ONE +#define CLIB_VECTOR_GROW_BY_ONE 0 +#endif + /* Vector resize operator. Called as needed by various macros such as vec_add1() when we need to allocate memory. */ __clib_export void * -- cgit 1.2.3-korg