Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
timeshift: fix build without timeshift enabled, fixes #3107
  • Loading branch information
perexg committed Sep 24, 2015
1 parent 2f73e52 commit 754bc38
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/api/api_timeshift.c
Expand Up @@ -23,6 +23,8 @@
#include "api.h"
#include "timeshift.h"

#if ENABLE_TIMESHIFT

void
api_timeshift_init ( void )
{
Expand All @@ -34,3 +36,12 @@ api_timeshift_init ( void )

api_register_all(ah);
}

#else

void
api_timeshift_init ( void )
{
}

#endif

0 comments on commit 754bc38

Please sign in to comment.