X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=tv.c;h=ec2cdc2f470ab02a5416293a790988aa938d4528;hb=ddd930000a7015369135258993be63c1a288fbf9;hp=b0acc79c30a58ca0843bbe5c8956dd038d8bcdc5;hpb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73;p=dss.git diff --git a/tv.c b/tv.c index b0acc79..ec2cdc2 100644 --- 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; }