1 diff --git a/arch/aarch64/bits/alltypes.h.in b/arch/aarch64/bits/alltypes.h.in
2 index 99f1654..d56abda 100644
3 --- a/arch/aarch64/bits/alltypes.h.in
4 +++ b/arch/aarch64/bits/alltypes.h.in
5 @@ -16,6 +16,8 @@ TYPEDEF unsigned int nlink_t;
7 TYPEDEF double double_t;
9 +TYPEDEF struct { long long __ll; long double __ld; } max_align_t;
12 TYPEDEF long suseconds_t;
14 diff --git a/include/float.h b/include/float.h
15 index c6429d3..713aadb 100644
26 int __flt_rounds(void);
27 #define FLT_ROUNDS (__flt_rounds())
29 @@ -41,4 +45,8 @@ int __flt_rounds(void);
31 #include <bits/float.h>
38 diff --git a/src/network/inet_pton.c b/src/network/inet_pton.c
39 index 4496b47..d36c368 100644
40 --- a/src/network/inet_pton.c
41 +++ b/src/network/inet_pton.c
42 @@ -39,14 +39,15 @@ int inet_pton(int af, const char *restrict s, void *restrict a0)
44 if (s[0]==':' && brk<0) {
52 for (v=j=0; j<4 && (d=hexval(s[j]))>=0; j++)
57 if (!s[j] && (brk>=0 || i==7)) break;
60 diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c
61 index 4cdaa1e..978dd87 100644
62 --- a/src/regex/regcomp.c
63 +++ b/src/regex/regcomp.c
64 @@ -839,7 +839,7 @@ static reg_errcode_t parse_atom(tre_parse_ctx_t *ctx, const char *s)
69 + if (!ere && (unsigned)*s-'1' < 9) {
72 node = tre_ast_new_literal(ctx->mem, BACKREF, val, ctx->position);
73 @@ -847,7 +847,7 @@ static reg_errcode_t parse_atom(tre_parse_ctx_t *ctx, const char *s)
75 /* extension: accept unknown escaped char
77 - node = tre_ast_new_literal(ctx->mem, *s, *s, ctx->position);
82 @@ -1700,6 +1700,11 @@ tre_copy_ast(tre_mem_t mem, tre_stack_t *stack, tre_ast_node_t *ast,
83 *result = tre_ast_new_literal(mem, min, max, pos);
87 + tre_literal_t *p = (*result)->obj;
88 + p->class = lit->class;
89 + p->neg_classes = lit->neg_classes;