aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-05 17:28:23 +0100
committerMax Kellermann <max@duempel.org>2013-11-05 17:28:23 +0100
commitb631b552bb2db6e16e6f8d4c8bbea4fcec90f683 (patch)
treead4e8d6dd509ea5856a7a751218ccc5e280e9815
parent3f21581a81a6a4d5fe08ec29356eed43e87397ad (diff)
downloadmpd-b631b552bb2db6e16e6f8d4c8bbea4fcec90f683.tar.gz
mpd-b631b552bb2db6e16e6f8d4c8bbea4fcec90f683.tar.xz
mpd-b631b552bb2db6e16e6f8d4c8bbea4fcec90f683.zip
test/*: add more missing stdlib.h includes
-rw-r--r--test/test_archive.cxx1
-rw-r--r--test/test_byte_reverse.cxx1
-rw-r--r--test/test_pcm_main.cxx2
-rw-r--r--test/test_util.cxx1
4 files changed, 5 insertions, 0 deletions
diff --git a/test/test_archive.cxx b/test/test_archive.cxx
index e16b49061..dbb41fe42 100644
--- a/test/test_archive.cxx
+++ b/test/test_archive.cxx
@@ -10,6 +10,7 @@
#include <glib.h>
#include <string.h>
+#include <stdlib.h>
class ArchiveLookupTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ArchiveLookupTest);
diff --git a/test/test_byte_reverse.cxx b/test/test_byte_reverse.cxx
index 2730dbdb0..58673e4f8 100644
--- a/test/test_byte_reverse.cxx
+++ b/test/test_byte_reverse.cxx
@@ -27,6 +27,7 @@
#include <cppunit/ui/text/TestRunner.h>
#include <string.h>
+#include <stdlib.h>
class ByteReverseTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ByteReverseTest);
diff --git a/test/test_pcm_main.cxx b/test/test_pcm_main.cxx
index 1fa580441..c034181d9 100644
--- a/test/test_pcm_main.cxx
+++ b/test/test_pcm_main.cxx
@@ -23,6 +23,8 @@
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
+#include <stdlib.h>
+
int
main(gcc_unused int argc, gcc_unused char **argv)
{
diff --git a/test/test_util.cxx b/test/test_util.cxx
index 6ed4d9e82..2ff303540 100644
--- a/test/test_util.cxx
+++ b/test/test_util.cxx
@@ -11,6 +11,7 @@
#include <cppunit/extensions/HelperMacros.h>
#include <string.h>
+#include <stdlib.h>
class UriUtilTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(UriUtilTest);