Skip to content

Commit

Permalink
Merge pull request #1972 from kevinbackhouse/ConditionExpatInclude
Browse files Browse the repository at this point in the history
Only include expat.h when XMP is enabled.
  • Loading branch information
clanmills authored Oct 19, 2021
2 parents d3f7e92 + 03cc591 commit 9259374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9259374

Please sign in to comment.