In this game, you are robot (#). Your job is to find kitten. This task is complicated by the existence of various things which are not kitten. Robot must touch items to determine if they are kitten or not. The game ends when robotfindskitten.
12 lines
495 B
C
12 lines
495 B
C
$NetBSD: patch-src_robotfindskitten.c,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
|
|
Fix compile warning on NetBSD due to use of time(3) wihout <time.h>.
|
|
--- src/robotfindskitten.c.orig 2007-12-01 04:25:21.000000000 +0000
|
|
+++ src/robotfindskitten.c
|
|
@@ -37,6 +37,7 @@ static char* ver = VERSION;
|
|
|
|
#include <signal.h>
|
|
#include <stdlib.h>
|
|
+#include <time.h>
|
|
|
|
/*The messages go in a separate file because they are collectively
|
|
huge, and you might want to modify them. It would be nice to load
|