projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bafd4
)
tests: playback: include stdlib.h unconditionally
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 7 Dec 2019 14:22:06 +0000
(14:22 +0000)
committer
GStreamer Merge Bot
<gitlab-merge-bot@gstreamer-foundation.org>
Mon, 9 Dec 2019 07:33:55 +0000
(07:33 +0000)
Like we do elsewhere. And drop the check for the header.
Also remove some superfluous unistd.h includes.
meson.build
patch
|
blob
|
history
tests/icles/playback/test4.c
patch
|
blob
|
history
tests/icles/playback/test5.c
patch
|
blob
|
history
tests/icles/playback/test6.c
patch
|
blob
|
history
tests/icles/playback/test7.c
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
a8d7134
..
ff7f1ca
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-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'],
diff --git
a/tests/icles/playback/test4.c
b/tests/icles/playback/test4.c
index
d036d7f
..
bf3d66e
100644
(file)
--- a/
tests/icles/playback/test4.c
+++ b/
tests/icles/playback/test4.c
@@
-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>
diff --git
a/tests/icles/playback/test5.c
b/tests/icles/playback/test5.c
index
b841116
..
0f7f7b7
100644
(file)
--- a/
tests/icles/playback/test5.c
+++ b/
tests/icles/playback/test5.c
@@
-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;
diff --git
a/tests/icles/playback/test6.c
b/tests/icles/playback/test6.c
index
144f99b
..
25f04de
100644
(file)
--- a/
tests/icles/playback/test6.c
+++ b/
tests/icles/playback/test6.c
@@
-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
diff --git
a/tests/icles/playback/test7.c
b/tests/icles/playback/test7.c
index
b9abcb5
..
90544ff
100644
(file)
--- a/
tests/icles/playback/test7.c
+++ b/
tests/icles/playback/test7.c
@@
-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