summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" {