From 0881190963d3020dd27ed477f2569ce1f9abd3f1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 23 Aug 2015 15:39:29 -0700 Subject: Fix building without database. Ben Boeckel had a patch, but.. Actually, that was not the only place that used ScheduleIncremental when built w/o database. Since the data type doesn't need database stuff, I've instead fixed this build problem by exposing the ScheduleIncremental constructor to database-less builds. --- Command/Fsck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command') diff --git a/Command/Fsck.hs b/Command/Fsck.hs index c3b73edb5..a522f5349 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -519,10 +519,10 @@ getStartTime u = do data Incremental = NonIncremental + | ScheduleIncremental Duration UUID Incremental #ifdef WITH_DATABASE | StartIncremental FsckDb.FsckHandle | ContIncremental FsckDb.FsckHandle - | ScheduleIncremental Duration UUID Incremental #endif prepIncremental :: UUID -> Maybe IncrementalOpt -> Annex Incremental -- cgit v1.2.3