Explorar o código

Properly include coalesce.h in custom_free when needed.

Ioannis Koutras %!s(int64=13) %!d(string=hai) anos
pai
achega
8d72e4a4ef
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/custom_free.c

+ 3 - 0
src/custom_free.c

@@ -4,6 +4,9 @@
 #ifdef HAVE_LOCKS
 #include "posix_lock.h"
 #endif /* HAVE_LOCKS */
+#ifdef WITH_COALESCING
+#include "coalesce.h"
+#endif /* WITH_COALESCING */
 #include "block_header.h"
 
 void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr) {