include necessary headers when GC_DEBUG

This commit is contained in:
Yuichi Nishiwaki 2013-10-15 09:07:55 +09:00
parent 2afdb54c16
commit 78303a72e5
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
#include "picrin/gc.h" #include "picrin/gc.h"
#include "picrin/irep.h" #include "picrin/irep.h"
#if GC_DEBUG
# include <stdio.h>
#endif
void void
init_heap_page(struct heap_page *heap) init_heap_page(struct heap_page *heap)
{ {