summaryrefslogtreecommitdiffstats
path: root/kernel/arch/um/drivers/mconsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/um/drivers/mconsole.h')
-rw-r--r--kernel/arch/um/drivers/mconsole.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/um/drivers/mconsole.h b/kernel/arch/um/drivers/mconsole.h
index 8b22535c6..44af7379e 100644
--- a/kernel/arch/um/drivers/mconsole.h
+++ b/kernel/arch/um/drivers/mconsole.h
@@ -7,7 +7,7 @@
#ifndef __MCONSOLE_H__
#define __MCONSOLE_H__
-#ifndef __KERNEL__
+#ifdef __UM_HOST__
#include <stdint.h>
#define u32 uint32_t
#endif