summaryrefslogtreecommitdiff
path: root/games/greed/patches/patch-ab
blob: 3ce4db9c691be147dbdafd170c673cbc6775b67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.1.1.1 2007/02/24 21:06:00 wiz Exp $

--- greed.c.orig	2002-07-30 22:03:43.000000000 +0000
+++ greed.c
@@ -68,8 +68,10 @@ static char *version = "Greed v" RELEASE
 #include <sys/types.h>
 
 #include <io.h>
-#include <stdlib.h>
 #endif
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
 
 #ifdef NOTBSD
 #ifndef crmode
@@ -200,7 +202,6 @@ int argc;
 char *argv[];
 {
 	register val = 1;
-	extern long time();
 	int attribs[9];
 #ifdef A_COLOR
 	char *colors;