[gimp] file-jpeg: Conditionally declare orientation



commit cbed71eb30dd3fed2c81c423010b905570bab8e6
Author: Mukund Sivaraman <muks banu com>
Date:   Sun Sep 18 08:07:32 2011 +0530

    file-jpeg: Conditionally declare orientation

 plug-ins/file-jpeg/jpeg-load.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-load.c b/plug-ins/file-jpeg/jpeg-load.c
index a77b343..ce11106 100644
--- a/plug-ins/file-jpeg/jpeg-load.c
+++ b/plug-ins/file-jpeg/jpeg-load.c
@@ -94,8 +94,9 @@ load_image (const gchar  *filename,
   gint             tile_height;
   gint             scanlines;
   gint             i, start, end;
+#ifdef HAVE_LIBEXIF
   gint             orientation = 0;
-
+#endif
 #ifdef HAVE_LCMS
   cmsHTRANSFORM    cmyk_transform = NULL;
 #else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]