[BACK]Return to patch-src_robotfindskitten.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / robotfindskitten / patches

File: [cvs.NetBSD.org] / pkgsrc / games / robotfindskitten / patches / Attic / patch-src_robotfindskitten.c (download)

Revision 1.1, Fri Feb 17 16:57:25 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN

Initial revision

$NetBSD: patch-src_robotfindskitten.c,v 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