Commit b631b552 authored by Max Kellermann's avatar Max Kellermann

test/*: add more missing stdlib.h includes

parent 3f21581a
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
class ArchiveLookupTest : public CppUnit::TestFixture { class ArchiveLookupTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ArchiveLookupTest); CPPUNIT_TEST_SUITE(ArchiveLookupTest);
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <cppunit/ui/text/TestRunner.h> #include <cppunit/ui/text/TestRunner.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
class ByteReverseTest : public CppUnit::TestFixture { class ByteReverseTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ByteReverseTest); CPPUNIT_TEST_SUITE(ByteReverseTest);
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h> #include <cppunit/ui/text/TestRunner.h>
#include <stdlib.h>
int int
main(gcc_unused int argc, gcc_unused char **argv) main(gcc_unused int argc, gcc_unused char **argv)
{ {
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <cppunit/extensions/HelperMacros.h> #include <cppunit/extensions/HelperMacros.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
class UriUtilTest : public CppUnit::TestFixture { class UriUtilTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(UriUtilTest); CPPUNIT_TEST_SUITE(UriUtilTest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment