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.
This commit is contained in:
parent
a4edec9b40
commit
0b7a8b72bb
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue