diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2018-08-06 22:08:44 +0200 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2018-08-06 22:08:44 +0200 |
commit | 046dfe601efccf97f898c15bb48754f7d01dd9ff (patch) | |
tree | 2a755033a6a65bef9723403878fc44bc61af95bb | |
parent | f1deb4621dd27dd6613b2a7536ef121fffd3ac11 (diff) | |
download | libgphoto2-046dfe601efccf97f898c15bb48754f7d01dd9ff.tar.gz |
Fix compilation without libxml2
-rw-r--r-- | camlibs/ptp2/ptp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c index 2678a1a28..5327865c1 100644 --- a/camlibs/ptp2/ptp.c +++ b/camlibs/ptp2/ptp.c @@ -843,6 +843,7 @@ parse_9301_tree (PTPParams *params, xmlNodePtr node, PTPDeviceInfo *di) /*traverse_tree (0, node);*/ return PTP_RC_OK; } +#endif uint16_t ptp_olympus_omd_capture (PTPParams* params) @@ -1063,7 +1064,7 @@ ptp_panasonic_getdeviceproperty (PTPParams *params, uint32_t propcode, uint16_t return ret; } - +#ifdef HAVE_LIBXML2 static uint16_t ptp_olympus_parse_output_xml(PTPParams* params, char*data, int len, xmlNodePtr *code) { |