summaryrefslogtreecommitdiff
path: root/src/StateFile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r--src/StateFile.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx
index 342a20c22..b10a7e040 100644
--- a/src/StateFile.hxx
+++ b/src/StateFile.hxx
@@ -46,6 +46,10 @@ class StateFile final : private TimeoutMonitor {
unsigned prev_volume_version = 0, prev_output_version = 0,
prev_playlist_version = 0;
+#ifdef ENABLE_DATABASE
+ unsigned prev_storage_version = 0;
+#endif
+
public:
static constexpr std::chrono::steady_clock::duration DEFAULT_INTERVAL = std::chrono::minutes(2);