freebsd-ports/multimedia/gstreamer80/files/patch-gst::cothreads.c

13 lines
305 B
C

--- 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 */