[gimp] file-jpeg: Include gimpexif.h only if HAVE_LIBEXIF
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-jpeg: Include gimpexif.h only if HAVE_LIBEXIF
- Date: Sun, 18 Sep 2011 02:40:08 +0000 (UTC)
commit bd3faae04cdc5e8af381551a6ada928017074e6e
Author: Mukund Sivaraman <muks banu com>
Date: Sun Sep 18 08:08:16 2011 +0530
file-jpeg: Include gimpexif.h only if HAVE_LIBEXIF
plug-ins/file-jpeg/jpeg-load.c | 3 +--
plug-ins/file-jpeg/jpeg.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-load.c b/plug-ins/file-jpeg/jpeg-load.c
index ce11106..87267fd 100644
--- a/plug-ins/file-jpeg/jpeg-load.c
+++ b/plug-ins/file-jpeg/jpeg-load.c
@@ -39,14 +39,13 @@
#include "libgimp/stdplugins-intl.h"
-#include "gimpexif.h"
-
#include "jpeg.h"
#include "jpeg-icc.h"
#include "jpeg-settings.h"
#include "jpeg-load.h"
#ifdef HAVE_LIBEXIF
#include "jpeg-exif.h"
+#include "gimpexif.h"
#endif
diff --git a/plug-ins/file-jpeg/jpeg.c b/plug-ins/file-jpeg/jpeg.c
index 398dcdc..dd7bdbb 100644
--- a/plug-ins/file-jpeg/jpeg.c
+++ b/plug-ins/file-jpeg/jpeg.c
@@ -39,8 +39,8 @@
#include "jpeg-save.h"
#ifdef HAVE_LIBEXIF
#include "jpeg-exif.h"
-#endif
#include "gimpexif.h"
+#endif
/* Declare local functions.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]