Introduce --min-complete.
[dss.git] / tv.c
diff --git a/tv.c b/tv.c
index b0acc79c30a58ca0843bbe5c8956dd038d8bcdc5..ec2cdc2f470ab02a5416293a790988aa938d4528 100644 (file)
--- a/tv.c
+++ b/tv.c
@@ -14,6 +14,7 @@
 #include "err.h"
 #include "str.h"
 #include "log.h"
+#include "time.h"
 
 /**
  * Convert struct timeval to milliseconds.
@@ -139,6 +140,6 @@ int64_t get_current_time(void)
 {
        time_t now;
        time(&now);
-       DSS_DEBUG_LOG("now: %jd\n", (intmax_t)now);
+       DSS_DEBUG_LOG(("now: %jd\n", (intmax_t)now));
        return (int64_t)now;
 }