• Thomas Petazzoni's avatar
    O_CLOEXEC needs _GNU_SOURCE defined · e7f71f16
    Thomas Petazzoni authored
    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: 's avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779953
    e7f71f16
Name
Last commit
Last update
..
elements Loading commit data...
Makefile.am Loading commit data...
codec.c Loading commit data...
codec.h Loading commit data...
decoder.c Loading commit data...
decoder.h Loading commit data...
image.c Loading commit data...
image.h Loading commit data...
output.c Loading commit data...
output.h Loading commit data...
simple-decoder.c Loading commit data...
simple-encoder.c Loading commit data...
test-decode.c Loading commit data...
test-decode.h Loading commit data...
test-display.c Loading commit data...
test-filter.c Loading commit data...
test-h264.c Loading commit data...
test-h264.h Loading commit data...
test-jpeg.c Loading commit data...
test-jpeg.h Loading commit data...
test-mpeg2.c Loading commit data...
test-mpeg2.h Loading commit data...
test-mpeg4.c Loading commit data...
test-mpeg4.h Loading commit data...
test-subpicture-data.c Loading commit data...
test-subpicture-data.h Loading commit data...
test-subpicture.c Loading commit data...
test-surfaces.c Loading commit data...
test-textures.c Loading commit data...
test-vc1.c Loading commit data...
test-vc1.h Loading commit data...
test-windows.c Loading commit data...
y4mreader.c Loading commit data...
y4mreader.h Loading commit data...