NEWS update
[dss.git] / tv.c
diff --git a/tv.c b/tv.c
index b0acc79c30a58ca0843bbe5c8956dd038d8bcdc5..5beca9d0d36ab83f06e22f55b0d8a920270e994a 100644 (file)
--- a/tv.c
+++ b/tv.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2010 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -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;
 }