Skip to content

Commit

Permalink
Only include expat.h when XMP is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Oct 19, 2021
1 parent d3f7e92 commit 03cc591
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 03cc591

Please sign in to comment.