aboutsummaryrefslogtreecommitdiffstats
path: root/include/bits
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 19:45:09 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 19:45:09 +0200
commitf252c29710f71e7c260d9e866c8d4eef885705c3 (patch)
tree22614e2bfc48b2901055484eed2f049d9ec4104e /include/bits
parentm (diff)
downloadslibc-f252c29710f71e7c260d9e866c8d4eef885705c3.tar.gz
slibc-f252c29710f71e7c260d9e866c8d4eef885705c3.tar.bz2
slibc-f252c29710f71e7c260d9e866c8d4eef885705c3.tar.xz
fix some warnings and errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/bits/types.h12
1 files changed, 12 insertions, 0 deletions
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
+