diff --git a/rrd.c b/rrd.c index 526f094..d70f775 100644 --- a/rrd.c +++ b/rrd.c @@ -12,7 +12,11 @@ #endif #include "php.h" -#include "ext/standard/php_smart_string.h" +#if PHP_VERSION_ID < 70200 +#include +#else +#include +#endif #include "ext/standard/php_array.h" #include "ext/standard/info.h" diff --git a/rrd_graph.c b/rrd_graph.c index 96a47f4..47477a7 100644 --- a/rrd_graph.c +++ b/rrd_graph.c @@ -14,7 +14,11 @@ #include "php.h" #include "zend_exceptions.h" -#include "ext/standard/php_smart_string.h" +#if PHP_VERSION_ID < 70200 +#include +#else +#include +#endif #include diff --git a/rrd_update.c b/rrd_update.c index 1fc4573..30d6501 100644 --- a/rrd_update.c +++ b/rrd_update.c @@ -14,7 +14,11 @@ #include "php.h" #include "zend_exceptions.h" -#include "ext/standard/php_smart_string.h" +#if PHP_VERSION_ID < 70200 +#include +#else +#include +#endif #include