aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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);