summaryrefslogtreecommitdiffstats
path: root/recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch')
-rw-r--r--recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch b/recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch
new file mode 100644
index 0000000000..e77917a6d8
--- /dev/null
+++ b/recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch
@@ -0,0 +1,12 @@
+Upstream: http://sourceforge.net/mailarchive/forum.php?thread_name=4CB2549C.2030100%40gmail.com&forum_name=prboom-devel
+
+--- prboom-2.5.0/src/SDL/i_system.c.orig 2010-10-11 09:58:02.000000000 +1030
++++ prboom-2.5.0/src/SDL/i_system.c 2010-10-11 09:59:16.000000000 +1030
+@@ -33,6 +33,7 @@
+ *-----------------------------------------------------------------------------
+ */
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+
+ #include <stdarg.h>