gstreamer/tests
Thomas Petazzoni 159e3c3f08 O_CLOEXEC needs _GNU_SOURCE defined
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
2017-03-14 16:12:27 +01:00
..
elements test: elements: remove spurious linkage 2016-07-06 18:38:37 +02:00
codec.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
codec.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
decoder.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
decoder.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
image.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
image.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
Makefile.am tests: elements: Add testsuite for vaapisink 2016-07-05 21:01:38 +02:00
output.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
output.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
simple-decoder.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
simple-encoder.c remove spurious gst_video_info_init() 2016-05-20 19:33:39 +02:00
test-decode.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-decode.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
test-display.c O_CLOEXEC needs _GNU_SOURCE defined 2017-03-14 16:12:27 +01:00
test-filter.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-h264.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-h264.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
test-jpeg.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-jpeg.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
test-mpeg2.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-mpeg2.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
test-mpeg4.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-mpeg4.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
test-subpicture-data.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-subpicture-data.h tests: add test for subpictures. 2011-12-12 15:08:42 +01:00
test-subpicture.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-surfaces.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-textures.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-vc1.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
test-vc1.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
test-windows.c tests: inforce gstreamer code-style 2016-04-29 12:48:44 +02:00
y4mreader.c tests: add simple-encoder program 2015-05-12 11:24:41 +02:00
y4mreader.h tests: add simple-encoder program 2015-05-12 11:24:41 +02:00