diff --git a/include/jemalloc/internal/ctl_externs.h b/include/jemalloc/internal/ctl_externs.h index 17bbba06..875a8101 100644 --- a/include/jemalloc/internal/ctl_externs.h +++ b/include/jemalloc/internal/ctl_externs.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_CTL_EXTERNS_H #define JEMALLOC_INTERNAL_CTL_EXTERNS_H +#include "jemalloc/internal/malloc_io.h" + /* Maximum ctl tree depth. */ #define CTL_MAX_DEPTH 7 diff --git a/include/jemalloc/internal/jemalloc_internal_includes.h b/include/jemalloc/internal/jemalloc_internal_includes.h index 64cda53a..d4d0c201 100644 --- a/include/jemalloc/internal/jemalloc_internal_includes.h +++ b/include/jemalloc/internal/jemalloc_internal_includes.h @@ -41,7 +41,6 @@ /******************************************************************************/ #include "jemalloc/internal/assert.h" -#include "jemalloc/internal/malloc_io.h" #include "jemalloc/internal/util.h" /******************************************************************************/ diff --git a/src/ckh.c b/src/ckh.c index a359a5cc..a9d181bd 100644 --- a/src/ckh.c +++ b/src/ckh.c @@ -38,6 +38,8 @@ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" + /******************************************************************************/ /* Function prototypes for non-inline static functions. */ diff --git a/src/jemalloc.c b/src/jemalloc.c index 4c38517b..4b4e9430 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -3,6 +3,7 @@ #include "jemalloc/internal/jemalloc_internal_includes.h" #include "jemalloc/internal/atomic.h" +#include "jemalloc/internal/malloc_io.h" /******************************************************************************/ /* Data. */ diff --git a/src/malloc_io.c b/src/malloc_io.c index 98ef7a65..11dc68db 100644 --- a/src/malloc_io.c +++ b/src/malloc_io.c @@ -1,6 +1,7 @@ #define JEMALLOC_MALLOC_IO_C_ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" #ifdef assert # undef assert diff --git a/src/mutex.c b/src/mutex.c index 26af5239..92c23dab 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -2,6 +2,8 @@ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" + #if defined(JEMALLOC_LAZY_LOCK) && !defined(_WIN32) #include #endif diff --git a/src/pages.c b/src/pages.c index 53ca653b..f1138231 100644 --- a/src/pages.c +++ b/src/pages.c @@ -2,6 +2,8 @@ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" + #ifdef JEMALLOC_SYSCTL_VM_OVERCOMMIT #include #endif diff --git a/src/prof.c b/src/prof.c index 334466b1..276ca360 100644 --- a/src/prof.c +++ b/src/prof.c @@ -2,6 +2,8 @@ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" + /******************************************************************************/ #ifdef JEMALLOC_PROF_LIBUNWIND diff --git a/src/witness.c b/src/witness.c index 26b16e77..bd040826 100644 --- a/src/witness.c +++ b/src/witness.c @@ -2,6 +2,8 @@ #include "jemalloc/internal/jemalloc_preamble.h" #include "jemalloc/internal/jemalloc_internal_includes.h" +#include "jemalloc/internal/malloc_io.h" + void witness_init(witness_t *witness, const char *name, witness_rank_t rank, witness_comp_t *comp, void *opaque) {