From 2e9978732c235940a2f19793a1fd2797717cfe2e Mon Sep 17 00:00:00 2001
From: Pedro Gonnet <pedro.gonnet@durham.ac.uk>
Date: Sun, 26 May 2013 15:33:18 +0000
Subject: [PATCH] small fix.

Former-commit-id: 0d02a594647b2610351e22163c1c9686947ab522
---
 src/io.c     | 1 +
 src/runner.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/io.c b/src/io.c
index bf25e55b5b..a229e028e8 100644
--- a/src/io.c
+++ b/src/io.c
@@ -32,6 +32,7 @@
 #include <hdf5.h>
 #include <math.h>
 
+#include "cycle.h"
 #include "lock.h"
 #include "task.h"
 #include "part.h"
diff --git a/src/runner.c b/src/runner.c
index 720270e35a..fe17aa6847 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -725,7 +725,7 @@ void *runner_main ( void *data ) {
             t->rid = r->id;
             
             /* Different types of tasks... */
-            t->tic = gettics();
+            t->tic = getticks();
             switch ( t->type ) {
                 case task_type_self:
                     if ( t->subtype == task_subtype_density )
@@ -771,7 +771,7 @@ void *runner_main ( void *data ) {
                 default:
                     error( "Unknown task type." );
                 }
-            t->toc = gettics();
+            t->toc = getticks();
                 
             /* Resolve any dependencies. */
             for ( k = 0 ; k < t->nr_unlock_tasks ; k++ )
-- 
GitLab