From 3e50be491ba4a0c6fe7f21c29d5376dfcd5f295a Mon Sep 17 00:00:00 2001 From: Sebastian Bauer Date: Fri, 30 Mar 2018 21:42:12 +0200 Subject: [PATCH] Include stdint.h for WCHAR_MAX to avoid redundant definitions. --- library/include/wchar.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/include/wchar.h b/library/include/wchar.h index a9047d6..053a80d 100644 --- a/library/include/wchar.h +++ b/library/include/wchar.h @@ -67,6 +67,10 @@ #include #endif /* _LOCALE_H */ +#ifndef _STDINT_H +#include +#endif + /****************************************************************************/ #ifdef __cplusplus @@ -76,8 +80,6 @@ extern "C" { /****************************************************************************/ #define WEOF (-1) -#define WCHAR_MAX 65535 -#define WCHAR_MIN 0 /****************************************************************************/