summaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-09-30 17:13:33 +0200
committerDamjan Marion <dmarion@0xa5.net>2022-10-11 15:13:47 +0000
commit6531cf5d1cffab8690c42847eef4f00f3018bb70 (patch)
treec59882f41f290b263386fa8ba5c8dd56cb0646f6 /src/vppinfra
parent91246bc6a28ef6838c417d4a559208e9cc8cbb85 (diff)
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>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/dlmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/dlmalloc.c b/src/vppinfra/dlmalloc.c
index 143db33c4b4..cc5915a3852 100644
--- a/src/vppinfra/dlmalloc.c
+++ b/src/vppinfra/dlmalloc.c
@@ -5,6 +5,7 @@
comments, complaints, performance data, etc to dl@cs.oswego.edu
*/
+#include <vppinfra/clib.h>
#include <vppinfra/dlmalloc.h>
/*------------------------------ internal #includes ---------------------- */