From 0c1d579de63d23e84be6e08da29b33f7226219b1 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Sat, 10 Apr 1999 05:16:03 +0200 Subject: [PATCH] Conditionally compile extended info for newer tifflibs Rev: src/modules/_Image_TIFF/image_tiff.c:1.4 --- src/modules/_Image_TIFF/image_tiff.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/_Image_TIFF/image_tiff.c b/src/modules/_Image_TIFF/image_tiff.c index 831e32092b..122f862d94 100644 --- a/src/modules/_Image_TIFF/image_tiff.c +++ b/src/modules/_Image_TIFF/image_tiff.c @@ -13,7 +13,7 @@ #ifdef HAVE_LIBTIFF -RCSID("$Id: image_tiff.c,v 1.3 1999/04/09 23:20:07 per Exp $"); +RCSID("$Id: image_tiff.c,v 1.4 1999/04/10 03:16:03 per Exp $"); #include "global.h" #include "machine.h" @@ -354,6 +354,7 @@ void low_image_tiff_decode( struct buffer *buf, sp--; if(!image_only) { +#ifdef HAVE_TIFFIOP_H char *tmp; TIFFDirectory *td = &tif->tif_dir; if (TIFFFieldSet(tif,FIELD_RESOLUTION)) @@ -555,6 +556,7 @@ void low_image_tiff_decode( struct buffer *buf, } f_aggregate(td->td_samplesperpixel); } +#endif #endif } TIFFClose(tif); -- GitLab