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:
Tim-Philipp Müller 2019-12-07 14:22:06 +00:00 committed by GStreamer Merge Bot
parent 72bafd442f
commit ca11e82e66
5 changed files with 5 additions and 18 deletions

View file

@ -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'],

View file

@ -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>

View file

@ -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;

View file

@ -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

View file

@ -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