summaryrefslogtreecommitdiffstats
path: root/src/imageutils/jpegcontent.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-08-19 14:33:36 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-08-19 14:33:36 +0200
commita60ea26a48006072a5c41ed6ba96e1ad2d60f05a (patch)
tree78decbafa85b7ca22f881a1b64a094f92cc219f0 /src/imageutils/jpegcontent.cpp
parent00a0b618492fc8985c4b275ab2dac7a28eac9c88 (diff)
downloadgwenview-a60ea26a48006072a5c41ed6ba96e1ad2d60f05a.tar.gz
gwenview-a60ea26a48006072a5c41ed6ba96e1ad2d60f05a.zip
Fix FTBFS with exiv2 >= 0.27.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/imageutils/jpegcontent.cpp')
-rw-r--r--src/imageutils/jpegcontent.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imageutils/jpegcontent.cpp b/src/imageutils/jpegcontent.cpp
index bab3b9a..02125c4 100644
--- a/src/imageutils/jpegcontent.cpp
+++ b/src/imageutils/jpegcontent.cpp
@@ -18,6 +18,10 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
+
// System
#include <math.h>
#include <stdio.h>
@@ -39,8 +43,12 @@ extern "C" {
#include <kdebug.h>
// Exiv2
+#if defined(HAVE_EXIV2_EXIV2_HPP)
+#include <exiv2/exiv2.hpp>
+#else
#include <exiv2/exif.hpp>
#include <exiv2/image.hpp>
+#endif
// Local
#include "imageutils/imageutils.h"