Author: gj                           Date: Fri Feb 25 14:28:50 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- stdlib.h is required for getenv() to be declared, and work propertly. 
- This fixes crash on amd64.
- time.h is system include, hence usage of narrow brackets seems to be better.

---- Files affected:
SOURCES:
   gnurobbo-stdlib.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gnurobbo-stdlib.patch
diff -u /dev/null SOURCES/gnurobbo-stdlib.patch:1.1
--- /dev/null   Fri Feb 25 15:28:50 2005
+++ SOURCES/gnurobbo-stdlib.patch       Fri Feb 25 15:28:45 2005
@@ -0,0 +1,13 @@
+diff -urN gnurobbo-0.57-org/gnurobbo-0.57/game.c 
gnurobbo-0.57/gnurobbo-0.57/game.c
+--- gnurobbo-0.57-org/gnurobbo-0.57/game.c     2002-11-15 23:42:36.000000000 
+0100
++++ gnurobbo-0.57/gnurobbo-0.57/game.c 2005-02-25 15:23:29.324433184 +0100
+@@ -21,7 +21,8 @@
+  *
+  */
+ #include "game.h"
+-#include "time.h"     /* for random data */
++#include <time.h>     /* for random data */
++#include <stdlib.h>
+ 
+ /***********************************************************/
+ /* This function checks if Robbo is killed - are there *****/
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to