2013-11-13 Steve Ellcey <sellcey@mips.com>
authorSteve Ellcey <sellcey@mips.com>
Wed, 13 Nov 2013 16:48:25 +0000 (08:48 -0800)
committerSteve Ellcey <sellcey@mips.com>
Wed, 13 Nov 2013 16:48:25 +0000 (08:48 -0800)
* benchtests/bench-timing.h: Include time.h.

ChangeLog
benchtests/bench-timing.h

index ac8fe51..a7b3418 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-13  Steve Ellcey  <sellcey@mips.com>
+
+       * benchtests/bench-timing.h: Include time.h.
+
 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #15997]
index 48a8521..619994f 100644 (file)
@@ -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