From 73a5ae0c119a10e88622488f307aaf0ad742dc91 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 27 Jun 2015 08:53:35 +0200 Subject: [PATCH] add missing declaration of wint_t --- hermit/arch/x86/include/asm/stddef.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hermit/arch/x86/include/asm/stddef.h b/hermit/arch/x86/include/asm/stddef.h index a4b985007..90dd7dc86 100644 --- a/hermit/arch/x86/include/asm/stddef.h +++ b/hermit/arch/x86/include/asm/stddef.h @@ -87,6 +87,11 @@ typedef char int8_t; /// 16 bit wide char type typedef unsigned short wchar_t; +#ifndef _WINT_T +#define _WINT_T +typedef wchar_t wint_t; +#endif + /// This defines what the stack looks like after the task context is saved. struct state { /// R15 register