소스 검색

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) {