From a6f1013afcedb73f3cb13adf2117804dab07a7ce Mon Sep 17 00:00:00 2001 From: Kevin Backhouse Date: Tue, 19 Oct 2021 11:44:51 +0100 Subject: [PATCH] Only include expat.h when XMP is enabled. (cherry picked from commit 03cc59122249e79c5a72982b25dad88f4c2803d6) --- src/xmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmp.cpp b/src/xmp.cpp index dc0dfff2d5..393201a9e3 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