From 2d808918371641716bcaeb92b7141c6db3fa2f8b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 10:21:52 +0200 Subject: [PATCH] Only include expat.h when XMP is enabled. (#1973) (cherry picked from commit 03cc59122249e79c5a72982b25dad88f4c2803d6) Co-authored-by: Kevin Backhouse --- src/xmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmp.cpp b/src/xmp.cpp index dc0dfff2..393201a9 100644 --- a/src/xmp.cpp +++ b/src/xmp.cpp @@ -30,10 +30,10 @@ #include #include #include -#include // Adobe XMP Toolkit #ifdef EXV_HAVE_XMP_TOOLKIT +# include # define TXMP_STRING_TYPE std::string # ifdef EXV_ADOBE_XMPSDK # include