]> git.pld-linux.org Git - packages/brikx.git/commitdiff
- fix "error: `atoi' undeclared (first use this function)" by added stdlib.h
authordarekr <darekr@pld-linux.org>
Mon, 5 Feb 2007 20:29:59 +0000 (20:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    brikx-include.patch -> 1.1

brikx-include.patch [new file with mode: 0644]

diff --git a/brikx-include.patch b/brikx-include.patch
new file mode 100644 (file)
index 0000000..2216ab4
--- /dev/null
@@ -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>\r
+ #include <stdio.h>\r
+ #include <string.h>\r
++#include <stdlib.h>\r
+ #include "SDL/SDL.h"\r
+ #include "SDL/SDL_image.h"\r
+ #include "SDL/SDL_ttf.h"\r
+--- 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>\r
+ #include <time.h>\r
+ #include <math.h>\r
++#include <stdlib.h>\r
+ #include "SDL/SDL.h"\r
+ #include "SDL/SDL_image.h"\r
+ #include "SDL/SDL_ttf.h"\r
This page took 0.067481 seconds and 4 git commands to generate.