aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/regex_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 8113914925..8f11f89ebb 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -556,6 +556,11 @@ typedef struct
{
/* The string object corresponding to the input string. */
re_string_t input;
+#if defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
+ re_dfa_t *const dfa;
+#else
+ re_dfa_t *dfa;
+#endif
/* EFLAGS of the argument of regexec. */
int eflags;
/* Where the matching ends. */