| 1 |
#Desription: Build with gcc-4.3. |
| 2 |
diff -urN qonk-0.3.1.orig/src/lisp/lexer.cpp qonk-0.3.1/src/lisp/lexer.cpp |
| 3 |
--- qonk-0.3.1.orig/src/lisp/lexer.cpp 2008-02-05 13:57:23.000000000 -0500 |
| 4 |
+++ qonk-0.3.1/src/lisp/lexer.cpp 2008-02-05 13:57:59.000000000 -0500 |
| 5 |
@@ -19,6 +19,7 @@ |
| 6 |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 7 |
#include <sstream> |
| 8 |
#include <stdexcept> |
| 9 |
+#include <cstring> |
| 10 |
|
| 11 |
#include "lexer.hpp" |
| 12 |
#include "translation.hpp" |
| 13 |
diff -urN qonk-0.3.1.orig/src/lisp/parser.cpp qonk-0.3.1/src/lisp/parser.cpp |
| 14 |
--- qonk-0.3.1.orig/src/lisp/parser.cpp 2008-02-05 13:57:23.000000000 -0500 |
| 15 |
+++ qonk-0.3.1/src/lisp/parser.cpp 2008-02-05 13:58:26.000000000 -0500 |
| 16 |
@@ -20,6 +20,7 @@ |
| 17 |
#include <sstream> |
| 18 |
#include <stdexcept> |
| 19 |
#include <fstream> |
| 20 |
+#include <cstring> |
| 21 |
|
| 22 |
#include <cassert> |
| 23 |
|
| 24 |
diff -urN qonk-0.3.1.orig/src/sdl_driver.cpp qonk-0.3.1/src/sdl_driver.cpp |
| 25 |
--- qonk-0.3.1.orig/src/sdl_driver.cpp 2008-02-05 13:57:23.000000000 -0500 |
| 26 |
+++ qonk-0.3.1/src/sdl_driver.cpp 2008-02-05 13:58:54.000000000 -0500 |
| 27 |
@@ -5,6 +5,7 @@ |
| 28 |
#include <SDL/SDL.h> |
| 29 |
#include <SDL/SDL_ttf.h> |
| 30 |
#include <cstdio> |
| 31 |
+#include <cstdlib> |
| 32 |
|
| 33 |
#include "sdl_driver.h" |
| 34 |
#include "canvas.h" |
| 35 |
diff -urN qonk-0.3.1.orig/src/videooptions.cpp qonk-0.3.1/src/videooptions.cpp |
| 36 |
--- qonk-0.3.1.orig/src/videooptions.cpp 2008-02-05 13:57:23.000000000 -0500 |
| 37 |
+++ qonk-0.3.1/src/videooptions.cpp 2008-02-05 13:59:26.000000000 -0500 |
| 38 |
@@ -1,5 +1,6 @@ |
| 39 |
#include <vector> |
| 40 |
#include <sstream> |
| 41 |
+#include <algorithm> |
| 42 |
|
| 43 |
#include <SDL/SDL.h> |
| 44 |
|