diff --git a/core/hakmem_super_registry.c b/core/hakmem_super_registry.c index 18500c25..b30b7cf2 100644 --- a/core/hakmem_super_registry.c +++ b/core/hakmem_super_registry.c @@ -1,5 +1,6 @@ #include "hakmem_super_registry.h" #include "hakmem_tiny_superslab.h" +#include "box/ss_allocation_box.h" // For superslab_allocate() declaration #include #include #include // munmap for incompatible SuperSlab eviction diff --git a/core/hakmem_tiny_superslab_internal.h b/core/hakmem_tiny_superslab_internal.h index 0afbbf67..cb392fb1 100644 --- a/core/hakmem_tiny_superslab_internal.h +++ b/core/hakmem_tiny_superslab_internal.h @@ -8,6 +8,7 @@ #include "hakmem_tiny_superslab.h" #include "box/ss_hot_cold_box.h" +#include "box/ss_allocation_box.h" // CRITICAL: For superslab_allocate() declaration (fixes implicit int assumption) #include "hakmem_super_registry.h" #include "hakmem_tiny.h" #include "hakmem_tiny_config.h" diff --git a/hakmem_super_registry.d b/hakmem_super_registry.d index 9c99b253..5df4e887 100644 --- a/hakmem_super_registry.d +++ b/hakmem_super_registry.d @@ -6,7 +6,8 @@ hakmem_super_registry.o: core/hakmem_super_registry.c \ core/superslab/../hakmem_tiny_superslab_constants.h \ core/superslab/../hakmem_tiny_config.h core/tiny_debug_ring.h \ core/hakmem_build_flags.h core/tiny_remote.h \ - core/hakmem_tiny_superslab_constants.h + core/hakmem_tiny_superslab_constants.h core/box/ss_allocation_box.h \ + core/hakmem_tiny_superslab.h core/hakmem_super_registry.h: core/hakmem_tiny_superslab.h: core/superslab/superslab_types.h: @@ -20,3 +21,5 @@ core/tiny_debug_ring.h: core/hakmem_build_flags.h: core/tiny_remote.h: core/hakmem_tiny_superslab_constants.h: +core/box/ss_allocation_box.h: +core/hakmem_tiny_superslab.h: