Include stdio.h if debugging
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 5 Nov 2009 21:16:06 +0000 (16:16 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 5 Nov 2009 21:16:06 +0000 (16:16 -0500)
src/hb-blob.c
src/hb-open-type-private.hh
src/hb-ot-layout-gsubgpos-private.hh

index 107cd43..377310e 100644 (file)
 #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;
 
index cab0e70..63b9fe7 100644 (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
index 4a5b8b2..41665a7 100644 (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