summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/fcint.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e4f4d8d..0678fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
2006-03-03 Patrick Lam <plam@mit.edu>
+ * src/fcint.h:
+
+ Include inttypes.h instead of stdint.h if appropriate.
+
+2006-03-03 Patrick Lam <plam@mit.edu>
* fc-cat/fc-cat.c (FcFileIsDir):
* fc-glyphname/fc-flyphname.c:
diff --git a/src/fcint.h b/src/fcint.h
index d5ff9d5..3f7f15b 100644
--- a/src/fcint.h
+++ b/src/fcint.h
@@ -27,7 +27,11 @@
#include <stdlib.h>
#include <stdio.h>
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#else
#include <stdint.h>
+#endif
#include <string.h>
#include <ctype.h>
#include <errno.h>