]> git.tuebingen.mpg.de Git - dss.git/blobdiff - time.c
Have foo.c #include foo.h.
[dss.git] / time.c
diff --git a/time.c b/time.c
index 6c8169f4a62c8174695598bd6c07bf756cd1b917..8197478e3a4921df08300a609b16fbcec47a5364 100644 (file)
--- a/time.c
+++ b/time.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -16,6 +16,7 @@
 #include "error.h"
 #include "string.h"
 #include "log.h"
+#include "time.h"
 
 /**
  * Convert struct timeval to milliseconds.
@@ -141,6 +142,6 @@ int64_t get_current_time(void)
 {
        time_t now;
        time(&now);
-       DSS_DEBUG_LOG("now: %lli\n", (long long) now);
+       DSS_DEBUG_LOG("now: %jd\n", (intmax_t)now);
        return (int64_t)now;
 }