summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/openttd/openttd-1.5.3-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/openttd/openttd-1.5.3-gcc6.patch b/libre/openttd/openttd-1.5.3-gcc6.patch
new file mode 100644
index 000000000..65d9991d6
--- /dev/null
+++ b/libre/openttd/openttd-1.5.3-gcc6.patch
@@ -0,0 +1,11 @@
+--- openttd-1.5.3/src/safeguards.h.orig 2016-02-02 16:21:10.378533175 +0000
++++ openttd-1.5.3/src/safeguards.h 2016-02-02 16:21:15.269555568 +0000
+@@ -21,6 +21,8 @@
+ #ifndef SAFEGUARDS_H
+ #define SAFEGUARDS_H
+
++#include <stdlib.h>
++
+ /* Use MallocT instead. */
+ #define malloc SAFEGUARD_DO_NOT_USE_THIS_METHOD
+