Include stdio.h if debugging

This commit is contained in:
Behdad Esfahbod 2009-11-05 16:16:06 -05:00
parent 2e33669291
commit d0351314cd
3 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,10 @@
#define HB_DEBUG_BLOB HB_DEBUG
#endif
#if HB_DEBUG_BLOB
#include <stdio.h>
#endif
struct _hb_blob_t {
hb_reference_count_t ref_count;

View File

@ -117,6 +117,7 @@ struct Null <Type> \
#endif
#if HB_DEBUG_SANITIZE
#include <stdio.h>
#define TRACE_SANITIZE_ARG_DEF , unsigned int sanitize_depth
#define TRACE_SANITIZE_ARG , sanitize_depth + 1
#define TRACE_SANITIZE_ARG_INIT , 1

View File

@ -36,6 +36,7 @@
#endif
#if HB_DEBUG_APPLY
#include <stdio.h>
#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth
#define TRACE_APPLY_ARG , apply_depth + 1
#define TRACE_APPLY_ARG_INIT , 1