vppinfra: fix AddressSanitizer

When checking for CLIB_SANITIZE_ADDR to enable specific behavior for
AddressSanitizer, we must have vppinfra/clib.h included as it is defined
there.

Type: fix

Change-Id: I9060c3c29c1289d28596c215a1d1709b2ea7c84e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
Benoît Ganne
2022-09-30 17:13:33 +02:00
committed by Damjan Marion
parent 91246bc6a2
commit 6531cf5d1c
7 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include <pthread.h>
#include <sched.h>
#include <vppinfra/clib.h>
#include <vppinfra/cpu.h>
#include <vlib/vlib.h>
#include <vlib/unix/unix.h>