In jemalloc_shim.h, we relied on including <isc/overflow.h> implicitly
instead of explicitly and same was happening inside isc/overflow.h - the
stdbool.h (for bool type) was being included implicitly instead of
explicitly.
#pragma once
+#include <stdbool.h>
+
#include <isc/util.h>
/*
#if !defined(HAVE_JEMALLOC)
#include <stddef.h>
+#include <stdlib.h>
#include <string.h>
+#include <isc/overflow.h>
#include <isc/util.h>
const char *malloc_conf = NULL;
#define MALLOCX_TCACHE_NONE (0)
#define MALLOCX_ARENA(a) (0)
-#include <stdlib.h>
-
typedef union {
size_t size;
max_align_t __alignment;