summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-06-10 23:07:58 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-06-10 23:08:52 -0400
commit8e0fa0d1ab97c256829dab28a5c371689584bcd3 (patch)
treecdd372a0fd047bde64b764c28c47c480c2f2c5cb
parent4c7807daee7189f481d7c18b56b06d7b7dba7884 (diff)
downloadpango-8e0fa0d1ab97c256829dab28a5c371689584bcd3.tar.gz
Bug 652227 - Unconditional use of stdint.h
-rw-r--r--pango/opentype/hb-common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/opentype/hb-common.h b/pango/opentype/hb-common.h
index 11f64ed0..a6be6ba5 100644
--- a/pango/opentype/hb-common.h
+++ b/pango/opentype/hb-common.h
@@ -27,7 +27,11 @@
#ifndef HB_COMMON_H
#define HB_COMMON_H
-#include <stdint.h>
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# else ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+# endif
# ifdef __cplusplus
# define HB_BEGIN_DECLS extern "C" {