Skip to content

Commit

Permalink
Only include expat.h when XMP is enabled. (#1973)
Browse files Browse the repository at this point in the history
(cherry picked from commit 03cc591)

Co-authored-by: Kevin Backhouse <[email protected]>
  • Loading branch information
mergify[bot] and kevinbackhouse authored Oct 20, 2021
1 parent b385f2d commit 2d80891
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 2d80891

Please sign in to comment.