summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/files/patch-gst::cothreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer/files/patch-gst::cothreads.c')
-rw-r--r--multimedia/gstreamer/files/patch-gst::cothreads.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c
new file mode 100644
index 000000000..a756de582
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-gst::cothreads.c
@@ -0,0 +1,13 @@
+--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004
++++ gst/cothreads.c Fri Feb 6 13:05:26 2004
+@@ -42,6 +42,10 @@
+ #include <ucontext.h>
+ #endif
+
++#ifdef HAVE_MAKECONTEXT
++#include <ucontext.h>
++#endif
++
+ #ifndef MAP_ANONYMOUS
+ #ifdef MAP_ANON
+ /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */