[GIT-PULLS] [php-src] PR #22810: ext/gd: conflicting iconv_t typedef breaking the Solaris build.

[email protected] (devnexen) Sun, 19 Jul 2026 15:39:49 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22810
Author: devnexen

The gd 2.4 sync guarded gdkanji.c's 'typedef void *iconv_t' fallback with HAVE_ICONV_T_DEF, which the bundled build never defined. On Solaris <iconv.h> declares iconv_t as a struct pointer, so it clashed. Define HAVE_ICONV_T_DEF when <iconv.h> already provides iconv_t.