From 367417c47be947ed7d0af7b430af5ff1626bf7c1 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 14 Jun 2015 19:06:21 +0300 Subject: Sync regex routines wit GLIBC. --- regexec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index 46a4d0ae..31bb9e66 100644 --- a/regexec.c +++ b/regexec.c @@ -17,6 +17,10 @@ License along with the GNU C Library; if not, see . */ +#ifdef HAVE_STDINT_H +#include +#endif /* HAVE_STDINT_H */ + static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags, int n) internal_function; static void match_ctx_clean (re_match_context_t *mctx) internal_function; -- cgit v1.2.3 From c281360e41563f20b36645896e01ae9bafd52b52 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 14 Jun 2015 19:08:26 +0300 Subject: Replace __attribute with __attribute__ in regex routines. --- regexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index 31bb9e66..cff69bfc 100644 --- a/regexec.c +++ b/regexec.c @@ -1059,7 +1059,7 @@ prune_impossible_nodes (mctx) since initial states may have constraints like "\<", "^", etc.. */ static inline re_dfastate_t * -__attribute ((always_inline)) internal_function +__attribute__ ((always_inline)) internal_function acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx, int idx) { -- cgit v1.2.3