mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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_SMMINTRIN_H', 'smmintrin.h'],
|
||||
['HAVE_STDINT_H', 'stdint.h'],
|
||||
['HAVE_STDLIB_H', 'stdlib.h'],
|
||||
['HAVE_STRINGS_H', 'strings.h'],
|
||||
['HAVE_STRING_H', 'string.h'],
|
||||
['HAVE_SYS_SOCKET_H', 'sys/socket.h'],
|
||||
|
|
|
@ -19,12 +19,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
|
||||
#include <stdlib.h> /* exit() */
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
|
@ -19,12 +19,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
|
||||
#include <stdlib.h> /* exit */
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
static GMainLoop *loop;
|
||||
|
|
|
@ -19,12 +19,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
|
||||
#include <stdlib.h> /* exit */
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
static void
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h> /* exit() */
|
||||
#endif
|
||||
#include <gst/gst.h>
|
||||
|
||||
#define UPDATE_INTERVAL 500
|
||||
|
|
Loading…
Reference in a new issue