util: make __asan_* prototypes available for ENHANCED printf debuging

This commit is contained in:
Björn Linse 2020-09-19 10:01:38 +02:00
parent b7fc7ac6a1
commit 0ba2b955af

View File

@ -68,6 +68,10 @@
# define LOG_CALLSTACK_TO_FILE(fp) log_callstack_to_file(fp, __func__, __LINE__)
#endif
#if defined(__has_include) && __has_include("sanitizer/asan_interface.h")
# include "sanitizer/asan_interface.h"
#endif
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "log.h.generated.h"
#endif