+ 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.
This commit is contained in:
Brian Cameron 2003-01-31 15:41:45 +00:00
parent 469cc6cbe5
commit d13abb525a

View file

@ -29,9 +29,6 @@
#include <unistd.h>
#include <errno.h>
#include <sys/mman.h>
#ifdef HAVE_UCONTEXT_H
#include <ucontext.h>
#endif
#include "gst_private.h"
@ -40,6 +37,10 @@
#include "gstlog.h"
#include "gstutils.h"
#ifdef HAVE_UCONTEXT_H
#include <ucontext.h>
#endif
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON