summaryrefslogtreecommitdiffstats
path: root/88.patch
blob: 8ff964a9c1996cb15208dcf683368ab5b93341fb (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 96d5dcea944a188e9a388bf19ed81ee41f1a990c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Jul 2025 12:06:59 +0200
Subject: [PATCH] use Zend/zend_smart_string.h

---
 zstd.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/zstd.c b/zstd.c
index 5479ba5..8ad068f 100644
--- a/zstd.c
+++ b/zstd.c
@@ -30,7 +30,11 @@
 #include <php_ini.h>
 #include <ext/standard/file.h>
 #include <ext/standard/info.h>
+#if PHP_VERSION_ID < 70200
 #include <ext/standard/php_smart_string.h>
+#else
+#include "Zend/zend_smart_string.h"
+#endif
 #if defined(HAVE_APCU_SUPPORT)
 #include <ext/standard/php_var.h>
 #include <ext/apcu/apc_serializer.h>