Fix missing includes
This was SVN commit r7267.
This commit is contained in:
parent
f8559e8c99
commit
e8008edf1c
@ -23,6 +23,8 @@
|
||||
|
||||
#include "lib/file/vfs/vfs_path.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
class CSimulation2Impl;
|
||||
class CSimContext;
|
||||
class CUnitManager;
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "simulation2/system/Interface.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
* Template manager: Handles the loading of entity template files for the initialisation
|
||||
* and deserialization of entity components.
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
#include "simulation2/components/ICmpPosition.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class CSimulation2;
|
||||
class CCamera;
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
|
||||
#include "lib/secure_crt.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
/*
|
||||
@ -145,7 +147,7 @@ void CDebugSerializer::Put(const char* name, const u8* data, size_t len)
|
||||
char buf[4];
|
||||
for (size_t i = 0; i < len; ++i)
|
||||
{
|
||||
sprintf(buf, " %02x", data[i]);
|
||||
sprintf_s(buf, ARRAY_SIZE(buf), " %02x", data[i]);
|
||||
m_Stream << buf;
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,8 @@
|
||||
#include "simulation2/serialization/StdSerializer.h"
|
||||
#include "simulation2/serialization/StdDeserializer.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Various common features for component test cases.
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
#include "ps/CLogger.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#define TS_ASSERT_STREAM(stream, len, buffer) \
|
||||
TS_ASSERT_EQUALS(stream.str().length(), (size_t)len); \
|
||||
TS_ASSERT_SAME_DATA(stream.str().data(), buffer, len)
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#include "lib/self_test.h"
|
||||
#include <cxxtest/GlobalFixture.h>
|
||||
|
||||
#if OS_WIN
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
|
||||
#include "ps/CStr.h"
|
||||
#include "maths/Vector3D.h"
|
||||
|
Loading…
Reference in New Issue
Block a user