[gnome-color-manager: 2/3] Add missing include for exiv2 error symbols
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager: 2/3] Add missing include for exiv2 error symbols
- Date: Thu, 7 Mar 2019 15:14:56 +0000 (UTC)
commit dcc4488b7e582c15be934b6c3593274a9ebc262e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Mar 7 15:06:40 2019 +0000
Add missing include for exiv2 error symbols
src/gcm-helper-exiv.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-helper-exiv.cpp b/src/gcm-helper-exiv.cpp
index ffbc82c..7ec6994 100644
--- a/src/gcm-helper-exiv.cpp
+++ b/src/gcm-helper-exiv.cpp
@@ -21,13 +21,15 @@
#include <exiv2/image.hpp>
#include <exiv2/exif.hpp>
-#include <iostream>
-#include <iomanip>
#if EXIV2_MAJOR_VERSION >= 1 || (EXIV2_MAJOR_VERSION == 0 && EXIV2_MINOR_VERSION >= 27)
#define HAVE_EXIV2_ERROR_CODE
+#include <exiv2/error.hpp>
#endif
+#include <iostream>
+#include <iomanip>
+
int
main (int argc, char* const argv[])
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]