diff --git a/include/jemalloc/internal/jemalloc_internal.h.in b/include/jemalloc/internal/jemalloc_internal.h.in index 532af2b8..fdeda7b6 100644 --- a/include/jemalloc/internal/jemalloc_internal.h.in +++ b/include/jemalloc/internal/jemalloc_internal.h.in @@ -180,7 +180,6 @@ static const bool have_percpu_arena = #include #endif -#include "jemalloc/internal/qr.h" #include "jemalloc/internal/ql.h" /* diff --git a/include/jemalloc/internal/ql.h b/include/jemalloc/internal/ql.h index b3a428c7..80290407 100644 --- a/include/jemalloc/internal/ql.h +++ b/include/jemalloc/internal/ql.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_QL_H #define JEMALLOC_INTERNAL_QL_H +#include "jemalloc/internal/qr.h" + /* List definitions. */ #define ql_head(a_type) \ struct { \ diff --git a/test/unit/qr.c b/test/unit/qr.c index 80c5c27d..271a1095 100644 --- a/test/unit/qr.c +++ b/test/unit/qr.c @@ -1,5 +1,7 @@ #include "test/jemalloc_test.h" +#include "jemalloc/internal/qr.h" + /* Number of ring entries, in [2..26]. */ #define NENTRIES 9 /* Split index, in [1..NENTRIES). */