From fd035c0a3d361e513fe7916b67e14ff702983153 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 4 Feb 2017 17:45:17 +0100 Subject: Clean up compilation Instead of mixing standard headers and internal redefinitions of standard types, completely rely on the compiler for what is guaranteed for a free standing environment. This results in the removal of kern/stddef.h and kern/stdint.h. The kern/types.h header is reintroduced for the different (and saner) purpose of defining types not specified in standard C, namely ssize_t for now. --- kern/kmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kern/kmem.c') diff --git a/kern/kmem.c b/kern/kmem.c index 49ec177b..e406115b 100644 --- a/kern/kmem.c +++ b/kern/kmem.c @@ -42,6 +42,9 @@ */ #include +#include +#include +#include #include #include @@ -56,9 +59,6 @@ #include #include #include -#include -#include -#include #include #include #include -- cgit v1.2.3