Only include expat.h when XMP is enabled. (#1973)

(cherry picked from commit 03cc59122249e79c5a72982b25dad88f4c2803d6)

Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
This commit is contained in:
mergify[bot]
2021-10-20 10:21:52 +02:00
committed by GitHub
parent b385f2db1c
commit 2d80891837
+1 -1
View File
@@ -30,10 +30,10 @@
#include <algorithm>
#include <cassert>
#include <string>
#include <expat.h>
// Adobe XMP Toolkit
#ifdef EXV_HAVE_XMP_TOOLKIT
# include <expat.h>
# define TXMP_STRING_TYPE std::string
# ifdef EXV_ADOBE_XMPSDK
# include <XMP.hpp>