--- kde-2.2/kdegraphics/kfax/libtiffax/tiff.h.orig	Mon Aug 13 11:03:26 2001
+++ kde-2.2/kdegraphics/kfax/libtiffax/tiff.h	Mon Aug 13 11:04:16 2001
@@ -50,15 +50,22 @@
  * 32-bit quantities	int32/uint32
  * strings		unsigned char*
  */
-typedef	signed char int8;	/* NB: non-ANSI compilers may not grok */
+#ifdef _AIX
+#include <sys/inttypes.h>
+#else
+  typedef      signed char int8;       /* NB: non-ANSI compilers may not grok */
+  typedef      short int16;
+# if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64)
+  typedef      int int32;
+# else
+  typedef      long int32;
+# endif
+#endif /* _AIX */
 typedef	unsigned char uint8;
-typedef	short int16;
 typedef	unsigned short uint16;	/* sizeof (uint16) must == 2 */
 #if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64)
-typedef	int int32;
 typedef	unsigned int uint32;	/* sizeof (uint32) must == 4 */
 #else
-typedef	long int32;
 typedef	unsigned long uint32;	/* sizeof (uint32) must == 4 */
 #endif
 
