aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-22 19:44:40 +0200
committerjcid <devnull@localhost>2008-10-22 19:44:40 +0200
commitf144706fd7987fa9fa8555e5ff25ec326e4a07f5 (patch)
tree917722b688bfcf7b06234491409a2b8786f313e5 /configure.in
parentb24af37659134db2198199e3b534bc767a582e58 (diff)
- Allowed compilation with older machines by removing a few C99isms.
- Added use of inttypes.h when stdint.h isn't found.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 85790df5..58ee8724 100644
--- a/configure.in
+++ b/configure.in
@@ -70,6 +70,8 @@ cat >d_size.h <<_______EOF
#if HAVE_STDINT_H == 0
#include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
#else
typedef signed $gint16 int16_t;
typedef unsigned $gint16 uint16_t;