mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: playback: include stdlib.h unconditionally
Like we do elsewhere. And drop the check for the header. Also remove some superfluous unistd.h includes.
This commit is contained in:
parent
72bafd442f
commit
ca11e82e66
5 changed files with 5 additions and 18 deletions
|
@ -115,7 +115,6 @@ check_headers = [
|
||||||
['HAVE_PROCESS_H', 'process.h'],
|
['HAVE_PROCESS_H', 'process.h'],
|
||||||
['HAVE_SMMINTRIN_H', 'smmintrin.h'],
|
['HAVE_SMMINTRIN_H', 'smmintrin.h'],
|
||||||
['HAVE_STDINT_H', 'stdint.h'],
|
['HAVE_STDINT_H', 'stdint.h'],
|
||||||
['HAVE_STDLIB_H', 'stdlib.h'],
|
|
||||||
['HAVE_STRINGS_H', 'strings.h'],
|
['HAVE_STRINGS_H', 'strings.h'],
|
||||||
['HAVE_STRING_H', 'string.h'],
|
['HAVE_STRING_H', 'string.h'],
|
||||||
['HAVE_SYS_SOCKET_H', 'sys/socket.h'],
|
['HAVE_SYS_SOCKET_H', 'sys/socket.h'],
|
||||||
|
|
|
@ -19,12 +19,8 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDLIB_H
|
|
||||||
#include <stdlib.h> /* exit() */
|
#include <stdlib.h> /* exit() */
|
||||||
#endif
|
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
|
|
@ -19,12 +19,9 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDLIB_H
|
|
||||||
#include <stdlib.h> /* exit */
|
#include <stdlib.h> /* exit */
|
||||||
#endif
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
static GMainLoop *loop;
|
static GMainLoop *loop;
|
||||||
|
|
|
@ -19,12 +19,9 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STDLIB_H
|
|
||||||
#include <stdlib.h> /* exit */
|
#include <stdlib.h> /* exit */
|
||||||
#endif
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -19,9 +19,7 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDLIB_H
|
|
||||||
#include <stdlib.h> /* exit() */
|
#include <stdlib.h> /* exit() */
|
||||||
#endif
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
#define UPDATE_INTERVAL 500
|
#define UPDATE_INTERVAL 500
|
||||||
|
|
Loading…
Reference in a new issue