mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
+ 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:
parent
469cc6cbe5
commit
d13abb525a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue