--- tiff-v3.5.5/libtiff/tiff.h	Tue Dec 21 11:03:03 1999
+++ tiff-v3.5.5-patch/libtiff/tiff.h	Fri Aug 18 12:51:20 2000
@@ -52,6 +52,13 @@
  * 32-bit quantities	int32/uint32
  * strings		unsigned char*
  */
+#ifdef _AIX
+#ifndef _ALL_SOURCE
+#define _ALL_SOURCE
+#endif
+#include <sys/types.h>
+#include <sys/ltypes.h>
+#else
 #ifdef __STDC__
 typedef	signed char int8;	/* NB: non-ANSI compilers may not grok */
 #else
@@ -67,6 +74,7 @@
 typedef	long int32;
 typedef	unsigned long uint32;	/* sizeof (uint32) must == 4 */
 #endif
+#endif /* _AIX */
 #endif /* _TIFF_DATA_TYPEDEFS_ */
 
 /*	For TIFFReassignTagToIgnore */
