Fix PHP 8.5 building

This commit is contained in:
Jean-Baptiste Nahan
2025-10-07 14:19:16 +02:00
committed by GitHub
parent dbfb62e981
commit fff45f6411
3 changed files with 15 additions and 3 deletions

6
rrd.c
View File

@@ -12,7 +12,11 @@
#endif
#include "php.h"
#include "ext/standard/php_smart_string.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_array.h"
#include "ext/standard/info.h"

View File

@@ -14,7 +14,11 @@
#include "php.h"
#include "zend_exceptions.h"
#include "ext/standard/php_smart_string.h"
#if PHP_VERSION_ID < 70200
#include <ext/standard/php_smart_string.h>
#else
#include <Zend/zend_smart_string.h>
#endif
#include <rrd.h>

View File

@@ -14,7 +14,11 @@
#include "php.h"
#include "zend_exceptions.h"
#include "ext/standard/php_smart_string.h"
#if PHP_VERSION_ID < 70200
#include <ext/standard/php_smart_string.h>
#else
#include <Zend/zend_smart_string.h>
#endif
#include <rrd.h>