Browse Source

Properly include coalesce.h in custom_free when needed.

Ioannis Koutras 13 years ago
parent
commit
8d72e4a4ef
1 changed files with 3 additions and 0 deletions
  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) {