aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/bytebench/files/patch-af
blob: 7ecc7b21e8dd5e60259cb0a143311142a899c4f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/dhry_1.c.orig   Thu Jan 27 21:23:37 2000
+++ src/dhry_1.c    Mon Mar 12 19:08:06 2001
@@ -32,6 +32,7 @@
  ***************************************************************************/
 char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
 
+#include <sys/types.h>
 #include <stdio.h>
 #include "dhry.h"
 #include "timeit.c"
@@ -78,7 +79,7 @@
                 /* Measurements should last at least about 2 seconds */
 #endif
 #ifdef TIME
-extern long     time();
+extern time_t   time();
                 /* see library function "time"  */
 #define Too_Small_Time 2
                 /* Measurements should last at least 2 seconds */