From b6b4f1270b2d5082aeaa1364e077e7e95b8af34f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Jul 2025 12:13:51 +0200 Subject: [PATCH] use Zend/zend_smart_string.h --- imagick.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imagick.c b/imagick.c index c5f2c40b..68e63e13 100644 --- a/imagick.c +++ b/imagick.c @@ -24,7 +24,9 @@ #include "php_imagick_helpers.h" #include "php_imagick_shared.h" -#if PHP_VERSION_ID >= 70000 +#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"