ports/benchmarks/bytebench/files/patch-af
2001-03-12 18:15:04 +00:00

19 lines
641 B
Text

--- 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 */