1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 18:30:21 +00:00

Introduces missing #includes.

This commit is contained in:
Thomas Harte 2018-03-23 18:05:51 -04:00
parent 76661c0b51
commit 6656a08c60
3 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,8 @@
#include "MultiJoystickMachine.hpp" #include "MultiJoystickMachine.hpp"
#include <algorithm>
using namespace Analyser::Dynamic; using namespace Analyser::Dynamic;
namespace { namespace {

View File

@ -16,6 +16,8 @@
#include "../../../Storage/Disk/Encodings/MFM/Parser.hpp" #include "../../../Storage/Disk/Encodings/MFM/Parser.hpp"
#include <cstring>
using namespace Analyser::Static::Oric; using namespace Analyser::Static::Oric;
static int Score(const Analyser::Static::MOS6502::Disassembly &disassembly, const std::set<uint16_t> &rom_functions, const std::set<uint16_t> &variable_locations) { static int Score(const Analyser::Static::MOS6502::Disassembly &disassembly, const std::set<uint16_t> &rom_functions, const std::set<uint16_t> &variable_locations) {
@ -95,7 +97,7 @@ static bool IsMicrodisc(Storage::Encodings::MFM::Parser &parser) {
0x12, 0x00 0x12, 0x00
}; };
return !memcmp(signature, first_sample.data(), sizeof(signature)); return !std::memcmp(signature, first_sample.data(), sizeof(signature));
} }
void Analyser::Static::Oric::AddTargets(const Media &media, std::vector<std::unique_ptr<Analyser::Static::Target>> &destination) { void Analyser::Static::Oric::AddTargets(const Media &media, std::vector<std::unique_ptr<Analyser::Static::Target>> &destination) {

View File

@ -13,7 +13,7 @@
#include <chrono> #include <chrono>
#include "AsyncTaskQueue.hpp" #include "AsyncTaskQueue.hpp"
#include "TimeTypes.hpp" #include "../ClockReceiver/TimeTypes.hpp"
namespace Concurrency { namespace Concurrency {