--- tiff/tiffread.c.orig	2004-09-21 23:56:44.000000000 +0200
+++ tiff/tiffread.c		2006-03-02 19:33:47.000000000 +0100
@@ -33,6 +33,9 @@
 #undef int32
 #undef uint32
 
+#define uint16 uint16_t
+#define uint32 uint32_t
+
 extern value *imglib_error;
 
 value open_tiff_file_for_read( name )
