Original idea: Remi Collet Subject: [PATCH] Use Zend/zend_smart_string.h https://github.com/sqmk/pecl-jsmin/issues/63 --- jsmin.h.orig 2025-10-14 16:42:24 +++ jsmin.h 2025-10-14 16:42:07 @@ -4,7 +4,13 @@ #define JSMIN_H #include "php.h" +#if PHP_VERSION_ID >= 70200 +#include "Zend/zend_smart_string.h" +#elif PHP_VERSION_ID >= 70000 #include "ext/standard/php_smart_string.h" +#else +#include "ext/standard/php_smart_str.h" +#endif typedef struct { char *javascript;