瀏覽代碼

Properly include coalesce.h in custom_free when needed.

Ioannis Koutras 13 年之前
父節點
當前提交
8d72e4a4ef
共有 1 個文件被更改,包括 3 次插入0 次删除
  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) {