Skip to content

Commit c0cf841

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix GH-20492: mbstring compile warning due to non-strings Fix GH-20491: SLES15 compile error with mbstring oniguruma
2 parents d9d55f0 + 929e717 commit c0cf841

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/mbstring/php_onig_compat.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@
55
#define regex_t php_mb_regex_t
66
#define re_registers php_mb_re_registers
77

8+
/* Required for some distros that conditionally override PV_.
9+
* As we're in C99 this header is always available. */
10+
#ifndef HAVE_STDARG_H
11+
# define HAVE_STDARG_H
12+
#endif
13+
814
#endif /* _PHP_ONIG_COMPAT_H */

0 commit comments

Comments
 (0)