diff src/lib/compat.h @ 3671:77135b9e26b5 HEAD

Include inttypes.h with Tru64 to get uint32_t etc. types defined.
author Timo Sirainen <tss@iki.fi>
date Thu, 20 Oct 2005 12:15:57 +0300
parents 085ebc6e341c
children b18e05b0170d
line wrap: on
line diff
--- a/src/lib/compat.h	Thu Oct 20 12:09:49 2005 +0300
+++ b/src/lib/compat.h	Thu Oct 20 12:15:57 2005 +0300
@@ -1,6 +1,10 @@
 #ifndef __COMPAT_H
 #define __COMPAT_H
 
+#if defined (HAVE_INTTYPES_H) && defined(TRU64)
+#  include <inttypes.h>
+#endif
+
 /* well, this is obviously wrong since it assumes it's 64bit, but older
    GCCs don't define it and we really want it. */
 #ifndef LLONG_MAX