summaryrefslogtreecommitdiffstats
path: root/newlib/libc/ctype/categories.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/ctype/categories.c')
-rw-r--r--newlib/libc/ctype/categories.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/ctype/categories.c b/newlib/libc/ctype/categories.c
index c237324ec..85328ef2e 100644
--- a/newlib/libc/ctype/categories.c
+++ b/newlib/libc/ctype/categories.c
@@ -1,10 +1,11 @@
#include <wctype.h>
+#include <stdint.h>
#include "categories.h"
struct _category {
enum category cat: 8;
- unsigned int first: 24;
- unsigned short delta;
+ uint_least32_t first: 24;
+ uint_least16_t delta;
} __attribute__((packed));
static const struct _category categories[] = {