diff --git a/meson.build b/meson.build index a8d7134a44..ff7f1caa4b 100644 --- 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 d036d7f0bd..bf3d66e485 100644 --- 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 /* exit() */ -#endif -#ifdef HAVE_UNISTD_H -#include -#endif #include diff --git a/tests/icles/playback/test5.c b/tests/icles/playback/test5.c index b841116fe1..0f7f7b7543 100644 --- 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 -#endif -#ifdef HAVE_STDLIB_H + #include /* exit */ -#endif + #include static GMainLoop *loop; diff --git a/tests/icles/playback/test6.c b/tests/icles/playback/test6.c index 144f99b4eb..25f04de39e 100644 --- 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 -#endif -#ifdef HAVE_STDLIB_H + #include /* exit */ -#endif + #include static void diff --git a/tests/icles/playback/test7.c b/tests/icles/playback/test7.c index b9abcb5b76..90544ff05e 100644 --- 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 /* exit() */ -#endif #include #define UPDATE_INTERVAL 500