X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=tv.c;h=5beca9d0d36ab83f06e22f55b0d8a920270e994a;hb=7e93c92b8896690059fff7d6b56ba149ca182294;hp=b0acc79c30a58ca0843bbe5c8956dd038d8bcdc5;hpb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73;p=dss.git 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; }