about summary refs log tree commit diff
path: root/benchtests/bench-timing.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-timing.h')
-rw-r--r--benchtests/bench-timing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index 48a85210a0..619994f145 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -41,6 +41,8 @@ typedef hp_timing_t timing_t;
 	  (min) / (d_iters), 1e6 * (d_total_i) / (d_total_s));
 
 #else
+
+#include <time.h>
 typedef uint64_t timing_t;
 
 /* Measure the resolution of the clock so we can scale the number of