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:
parent
b385f2db1c
commit
2d80891837
@ -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…
Reference in New Issue
Block a user