test/*: add more missing stdlib.h includes
This commit is contained in:
parent
3f21581a81
commit
b631b552bb
@ -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 @@
|
|||||||
#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 @@
|
|||||||
#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 @@
|
|||||||
#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);
|
||||||
|
Loading…
Reference in New Issue
Block a user