pkgsrc/games/robotfindskitten/patches/patch-src_robotfindskitten.c

13 lines
495 B
C
Raw Normal View History

$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