From f252c29710f71e7c260d9e866c8d4eef885705c3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 19:45:09 +0200 Subject: fix some warnings and errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/bits/types.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/bits') diff --git a/include/bits/types.h b/include/bits/types.h index 5d99e4f..83087b5 100644 --- a/include/bits/types.h +++ b/include/bits/types.h @@ -362,3 +362,15 @@ typedef struct { } imaxdiv_t; #endif + +/** + * Locale datatype. + */ +#if defined(__NEED_locale_t) && !defined(__DEFINED_locale_t) +# define __DEFINED_locale_t +typedef struct __locale locale_t; /* TODO not implemented */ +#endif +#ifndef __INTMAX_MAX +# define __INTMAX_MAX INT64_MAX +#endif + -- cgit v1.2.3-70-g09d2