From 03c74c68d6cf6d8c3dd1b818dd11aefe9bca1bd8 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 15 May 2019 23:20:03 +0200 Subject: [PATCH] Fix headers --- core/assert.h | 1 + core/math.h | 3 ++- drivers/vga.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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