X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=tv.c;h=5beca9d0d36ab83f06e22f55b0d8a920270e994a;hp=b0acc79c30a58ca0843bbe5c8956dd038d8bcdc5;hb=331602985a9b73157dfba5ceffd2c257e078c197;hpb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73 diff --git a/tv.c b/tv.c index b0acc79..5beca9d 100644 --- a/tv.c +++ b/tv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005-2010 Andre Noll * * 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; }