1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Corrects missing includes in the SerialBus, Electron Video and Typer.

This commit is contained in:
Thomas Harte 2017-11-10 20:37:18 -05:00
parent a16ca65825
commit f7f2736d4d
4 changed files with 9 additions and 1 deletions

View File

@ -8,6 +8,8 @@
#include "SerialBus.hpp" #include "SerialBus.hpp"
#include <cstdio>
using namespace Commodore::Serial; using namespace Commodore::Serial;
const char *::Commodore::Serial::StringForLine(Line line) { const char *::Commodore::Serial::StringForLine(Line line) {

View File

@ -9,6 +9,8 @@
#ifndef SerialBus_hpp #ifndef SerialBus_hpp
#define SerialBus_hpp #define SerialBus_hpp
#include <cstdint>
#include <memory>
#include <vector> #include <vector>
namespace Commodore { namespace Commodore {

View File

@ -8,6 +8,8 @@
#include "Video.hpp" #include "Video.hpp"
#include <cstring>
using namespace Electron; using namespace Electron;
#define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_line) #define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_line)

View File

@ -7,7 +7,9 @@
// //
#include "Typer.hpp" #include "Typer.hpp"
#include <stdlib.h>
#include <cstdlib>
#include <cstring>
using namespace Utility; using namespace Utility;