summaryrefslogtreecommitdiffstats
path: root/82.patch
blob: 4417d24006e3cf74bdeb3c4c9aba01b125850e45 (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 6fea3565c81b4689d73ea43267f6e42306547ae3 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Jul 2025 14:20:14 +0200
Subject: [PATCH] use Zend/zend_smart_string.h

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

diff --git a/pub.c b/pub.c
index eaa0011..c2fb812 100644
--- a/pub.c
+++ b/pub.c
@@ -27,7 +27,11 @@
 #include "ext/standard/php_var.h"
 #include <errno.h>
 #include <fcntl.h>
+#if PHP_VERSION_ID < 70200
 #include "ext/standard/php_smart_string_public.h"
+#else
+#include "Zend/zend_smart_string.h"
+#endif
 #include "ext/json/php_json.h"
 #include "zend_smart_str.h"
 #include <signal.h>