Bug 652227 - Unconditional use of stdint.h
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 11 Jun 2011 03:07:58 +0000 (23:07 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 11 Jun 2011 03:08:52 +0000 (23:08 -0400)
pango/opentype/hb-common.h

index 11f64ed..a6be6ba 100644 (file)
 #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" {