From d13abb525a33b509e928d99f4116e8e511cf3d73 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Fri, 31 Jan 2003 15:41:45 +0000 Subject: [PATCH] + Fixed #includes in gst/cothreads.c so that configure.h before processing #ifdef HAVE_UCONTEXT_H, so it gets handled... Original commit message from CVS: + Fixed #includes in gst/cothreads.c so that configure.h before processing #ifdef HAVE_UCONTEXT_H, so it gets handled properly. + Fixed libs/ext/cothreads so that it doesn't require -Wall/-Werror when compiling with Forte. --- gst/cothreads.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gst/cothreads.c b/gst/cothreads.c index e68a612f87..22bddd4545 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -29,9 +29,6 @@ #include #include #include -#ifdef HAVE_UCONTEXT_H -#include -#endif #include "gst_private.h" @@ -40,6 +37,10 @@ #include "gstlog.h" #include "gstutils.h" +#ifdef HAVE_UCONTEXT_H +#include +#endif + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON