openbsd-ports/benchmarks/bytebench/patches/patch-src_dhry_1_c
2003-01-15 00:14:59 +00:00

21 lines
659 B
Plaintext

$OpenBSD: patch-src_dhry_1_c,v 1.2 2003/01/15 00:14:59 pvalchev Exp $
--- src/dhry_1.c.orig Wed Feb 5 03:08:47 1992
+++ src/dhry_1.c Tue Jan 14 16:56:12 2003
@@ -33,6 +33,7 @@
char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
#include <stdio.h>
+#include <string.h>
#include "dhry.h"
#include "timeit.c"
@@ -78,7 +79,7 @@ extern int times ();
/* 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 */