diff --git a/core/assert.h b/core/assert.h index dad126d..2d1958d 100644 --- a/core/assert.h +++ b/core/assert.h @@ -1,5 +1,6 @@ #pragma once #include "stack.h" +#include "vga.h" #define assert(p) do { \ if (!(p)) { \ diff --git a/core/math.h b/core/math.h index 92bfdbb..db179ce 100644 --- a/core/math.h +++ b/core/math.h @@ -1,4 +1,5 @@ #pragma once -#include "stdint.h" +#include "stdarg.h" +#include "types.h" uint32_t log2(uint32_t x); diff --git a/drivers/vga.h b/drivers/vga.h index c6e3d19..2d65121 100644 --- a/drivers/vga.h +++ b/drivers/vga.h @@ -1,6 +1,6 @@ #pragma once #include "stdarg.h" -#include "stdint.h" +#include "types.h" // https://wiki.osdev.org/Text_UI #define BLACK 0x00