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

(cherry picked from commit 03cc59122249e79c5a72982b25dad88f4c2803d6)

Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
main
mergify[bot] 4 years ago committed by GitHub
parent b385f2db1c
commit 2d80891837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

Loading…
Cancel
Save