mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
159e3c3f08
From man open(2): The O_CLOEXEC, O_DIRECTORY, and O_NOFOLLOW flags are not specified in POSIX.1-2001, but are specified in POSIX.1-2008. Since glibc 2.12, one can obtain their definitions by defining either _POSIX_C_SOURCE with a value greater than or equal to 200809L or _XOPEN_SOURCE with a value greater than or equal to 700. In glibc 2.11 and earlier, one obtains the definitions by defining _GNU_SOURCE. And indeed, with the uClibc C library, O_CLOEXEC is not exposed if _GNU_SOURCE is not defined. Therefore, this commit fixes the build of gstreamer-vaapi with the uClibc C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> https://bugzilla.gnome.org/show_bug.cgi?id=779953 |
||
---|---|---|
.. | ||
elements | ||
codec.c | ||
codec.h | ||
decoder.c | ||
decoder.h | ||
image.c | ||
image.h | ||
Makefile.am | ||
output.c | ||
output.h | ||
simple-decoder.c | ||
simple-encoder.c | ||
test-decode.c | ||
test-decode.h | ||
test-display.c | ||
test-filter.c | ||
test-h264.c | ||
test-h264.h | ||
test-jpeg.c | ||
test-jpeg.h | ||
test-mpeg2.c | ||
test-mpeg2.h | ||
test-mpeg4.c | ||
test-mpeg4.h | ||
test-subpicture-data.c | ||
test-subpicture-data.h | ||
test-subpicture.c | ||
test-surfaces.c | ||
test-textures.c | ||
test-vc1.c | ||
test-vc1.h | ||
test-windows.c | ||
y4mreader.c | ||
y4mreader.h |