summaryrefslogtreecommitdiff
path: root/benchmarks/himenobench/files/patch-himenobmtxps.c
blob: b00ab89328aec388706eb4f7e42cc2734c31f264 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- himenobmtxps.c.orig	2016-06-20 13:01:22 UTC
+++ himenobmtxps.c
@@ -37,6 +37,7 @@
 ********************************************************************/
 
 #include <stdio.h>
+#include <sys/time.h>
 
 #ifdef SSMALL
 #define MIMAX            33
@@ -245,7 +246,6 @@ mflops(int nn,double cpu,double flop)
 double
 second()
 {
-#include <sys/time.h>
 
   struct timeval tm;
   double t ;