summaryrefslogtreecommitdiff
path: root/benchmarks/bytebench/patches/patch-ab
blob: 1b322954a456a65f5946ad827782dc68cf9dbe92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.1 1998/09/01 04:07:33 garbled Exp $
--- src/context1.c.orig	Mon Aug 31 06:33:46 1998
+++ src/context1.c	Mon Aug 31 20:54:52 1998
@@ -25,6 +25,9 @@
 #include <stdio.h>
 #include "timeit.c"
 #include <errno.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <stdlib.h>
 
 unsigned long iter;
 
@@ -39,7 +42,7 @@
 char	*argv[];
 {
 	int duration;
-	int	check;
+	unsigned long	check;
 	int	p1[2], p2[2];
 
 	if (argc != 2) {