]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dbus: dvr - don't declare dvr_dbus_timer without dbus
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Aug 2014 19:27:45 +0000 (21:27 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Aug 2014 19:27:45 +0000 (21:27 +0200)
src/dvr/dvr_db.c

index 802c48674cd8e2876844f5977a3a124b9475d939..7f75dc630ccb6bb8da2dd7a1931142887214b96a 100644 (file)
@@ -39,7 +39,9 @@ int dvr_iov_max;
 struct dvr_config_list dvrconfigs;
 struct dvr_entry_list dvrentries;
 
+#if ENABLE_DBUS_1
 static gtimer_t dvr_dbus_timer;
+#endif
 
 static void dvr_timer_expire(void *aux);
 static void dvr_timer_start_recording(void *aux);