summaryrefslogtreecommitdiff
path: root/arch/x86/machine/io.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-04 17:45:17 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-04 17:45:17 +0100
commitfd035c0a3d361e513fe7916b67e14ff702983153 (patch)
tree81d24cf88a68144bfd6113a8e148a0dd9528affe /arch/x86/machine/io.h
parentd479903845975a480be4201aa892e4434c4f6c54 (diff)
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.
Diffstat (limited to 'arch/x86/machine/io.h')
-rw-r--r--arch/x86/machine/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/io.h b/arch/x86/machine/io.h
index 6b10f0eb..fb566b95 100644
--- a/arch/x86/machine/io.h
+++ b/arch/x86/machine/io.h
@@ -18,7 +18,7 @@
#ifndef _X86_IO_H
#define _X86_IO_H
-#include <kern/stdint.h>
+#include <stdint.h>
/*
* Read a byte from an I/O port.