From f31f7960bd260cb90ffdd766393d51bd85a547d1 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Jul 2017 15:13:02 +0200 Subject: removed stddef.h and limits.h (come with the compiler header files) added a stub stdint.h (only sometimes comes with the compiler) added a guide on cross compiling adapted to cross compilation, for now tcc works --- src/hardware/interrupts.h | 2 +- src/hardware/port.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hardware') diff --git a/src/hardware/interrupts.h b/src/hardware/interrupts.h index c325d4f..64040cb 100644 --- a/src/hardware/interrupts.h +++ b/src/hardware/interrupts.h @@ -1,7 +1,7 @@ #ifndef INTERRUPTS_H #define INTERRUPTS_H -#include +#include "stdint.h" #include "port.h" #include "tasks.h" diff --git a/src/hardware/port.h b/src/hardware/port.h index ec96d09..8203fea 100644 --- a/src/hardware/port.h +++ b/src/hardware/port.h @@ -1,7 +1,7 @@ #ifndef PORT_H #define PORT_H -#include +#include "stdint.h" typedef struct { uint16_t number; // port number, e.g. 0x3d4 VGA index register -- cgit v1.2.3-54-g00ecf