summaryrefslogtreecommitdiff
path: root/games-arcade/cob/files/cob-0.9-gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/cob/files/cob-0.9-gcc43.patch')
-rw-r--r--games-arcade/cob/files/cob-0.9-gcc43.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/games-arcade/cob/files/cob-0.9-gcc43.patch b/games-arcade/cob/files/cob-0.9-gcc43.patch
new file mode 100644
index 000000000000..6b1f574628df
--- /dev/null
+++ b/games-arcade/cob/files/cob-0.9-gcc43.patch
@@ -0,0 +1,26 @@
+--- cob/menu.cpp
++++ cob/menu.cpp
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+
+ #include "cob.hxx"
++#include <cstring>
+
+ // **************************************************************************************************************************
+ //
+--- cob/sdw.hxx
++++ cob/sdw.hxx
+@@ -19,6 +19,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {
+@@ -192,4 +193,4 @@
+ AudioNoise(int l) : AudioBeep(0,l) { }
+ };
+
+-};
++}