[PATCH] Add missing divelogs check for LIBZIP and XSLT

subsurface at henrik.synth.no subsurface at henrik.synth.no
Tue Apr 9 23:51:35 PDT 2013


From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>

I forgot that in commit 5f03a6f.  Oops.

Reported-by: Ďoďo <dodo.sk at gmail.com>
Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
---
 divelist.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/divelist.h b/divelist.h
index 32e2075..6030047 100644
--- a/divelist.h
+++ b/divelist.h
@@ -16,7 +16,10 @@ extern void select_prev_dive(void);
 extern void show_and_select_dive(struct dive *dive);
 extern double init_decompression(struct dive * dive);
 extern void export_all_dives_uddf_cb();
+
+#if defined(LIBZIP) && defined(XSLT)
 extern void upload_all_dives_divelogs_cb();
+#endif
 
 /* divelist core logic functions */
 extern dive_trip_t *find_trip_by_idx(int idx);
-- 
1.8.2



More information about the subsurface mailing list