summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-04-10 08:51:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-10 07:37:40 -0700
commit593a0a7a6091c1840e91c0de5a67d1656ee65737 (patch)
tree60789099f4c77751000da3b43fdd867da540518d /divelist.h
parent186c27f17c0a865c4a484437a28497b6a5765366 (diff)
downloadsubsurface-593a0a7a6091c1840e91c0de5a67d1656ee65737.tar.gz
Add missing divelogs check for LIBZIP and XSLT
I forgot that in commit 5f03a6f. Oops. Reported-by: Ďoďo <dodo.sk@gmail.com> Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 32e2075f6..60300474b 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);