vppinfra: don't fail if config.h is missing, fallback to defaults instead
[vpp.git] / src / vppinfra / vec.c
index e98b582..970f7f7 100644 (file)
 #include <vppinfra/vec.h>
 #include <vppinfra/mem.h>
 
+#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 *