From d0351314cd29fbdf0efb5c7f89a569648f7a7fc7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 5 Nov 2009 16:16:06 -0500 Subject: [PATCH] Include stdio.h if debugging --- src/hb-blob.c | 4 ++++ src/hb-open-type-private.hh | 1 + src/hb-ot-layout-gsubgpos-private.hh | 1 + 3 files changed, 6 insertions(+) diff --git a/src/hb-blob.c b/src/hb-blob.c index 107cd43..377310e 100644 --- a/src/hb-blob.c +++ b/src/hb-blob.c @@ -39,6 +39,10 @@ #define HB_DEBUG_BLOB HB_DEBUG #endif +#if HB_DEBUG_BLOB +#include +#endif + struct _hb_blob_t { hb_reference_count_t ref_count; diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index cab0e70..63b9fe7 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -117,6 +117,7 @@ struct Null \ #endif #if HB_DEBUG_SANITIZE +#include #define TRACE_SANITIZE_ARG_DEF , unsigned int sanitize_depth #define TRACE_SANITIZE_ARG , sanitize_depth + 1 #define TRACE_SANITIZE_ARG_INIT , 1 diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 4a5b8b2..41665a7 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -36,6 +36,7 @@ #endif #if HB_DEBUG_APPLY +#include #define TRACE_APPLY_ARG_DEF , unsigned int apply_depth #define TRACE_APPLY_ARG , apply_depth + 1 #define TRACE_APPLY_ARG_INIT , 1 -- 2.7.4