summaryrefslogtreecommitdiff
path: root/Command/Fsck.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-23 15:39:29 -0700
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-23 15:39:29 -0700
commit0881190963d3020dd27ed477f2569ce1f9abd3f1 (patch)
treeb175e1271eeb809c09a5c94f291c3706f886ae05 /Command/Fsck.hs
parent1d808de8cdb6eb31e6f7713970d09376ead7e34f (diff)
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.
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r--Command/Fsck.hs2
1 files changed, 1 insertions, 1 deletions
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