summaryrefslogtreecommitdiffstats
path: root/574.patch
blob: 128f348a094d0e85835d986a034a8c5a3e67dc99 (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
25
From b9fc8475be7239e7b144d41cd2ad79677c996ac2 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Jul 2025 12:54:49 +0200
Subject: [PATCH] use Zend/zend_smart_string.h

---
 php_memcached_private.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/php_memcached_private.h b/php_memcached_private.h
index 2c22ecba..b7d2a5e1 100644
--- a/php_memcached_private.h
+++ b/php_memcached_private.h
@@ -43,7 +43,11 @@
 #include <ext/standard/info.h>
 #include <zend_extensions.h>
 #include <zend_exceptions.h>
+#if PHP_VERSION_ID < 70200
 #include <ext/standard/php_smart_string.h>
+#else
+#include <Zend/zend_smart_string.h>
+#endif
 #include <ext/standard/php_var.h>
 #include <ext/standard/basic_functions.h>