SOURCES: brikx-include.patch (NEW) - fix "error: `atoi' undeclared...

darekr darekr at pld-linux.org
Mon Feb 5 21:30:04 CET 2007


Author: darekr                       Date: Mon Feb  5 20:30:04 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix "error: `atoi' undeclared (first use this function)" by added stdlib.h

---- Files affected:
SOURCES:
   brikx-include.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/brikx-include.patch
diff -u /dev/null SOURCES/brikx-include.patch:1.1
--- /dev/null	Mon Feb  5 21:30:04 2007
+++ SOURCES/brikx-include.patch	Mon Feb  5 21:29:59 2007
@@ -0,0 +1,20 @@
+--- brikx.orig/src/brikx.cpp	2007-02-05 19:16:32.000000000 +0100
++++ brikx/src/brikx.cpp	2007-02-05 19:16:50.000000000 +0100
+@@ -1,6 +1,7 @@
+ #include <ctype.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <stdlib.h>
+ #include "SDL/SDL.h"
+ #include "SDL/SDL_image.h"
+ #include "SDL/SDL_ttf.h"
+--- brikx.orig/src/main.cpp	2007-02-05 19:16:32.000000000 +0100
++++ brikx/src/main.cpp	2007-02-05 19:18:45.000000000 +0100
+@@ -2,6 +2,7 @@
+ #include <string.h>
+ #include <time.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include "SDL/SDL.h"
+ #include "SDL/SDL_image.h"
+ #include "SDL/SDL_ttf.h"
================================================================


More information about the pld-cvs-commit mailing list