blob: 9b76e0566083d4087e3454b935a522bda13a358d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From b6b4f1270b2d5082aeaa1364e077e7e95b8af34f Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
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"
|