Obtained from: https://github.com/kjdev/php-ext-zstd/commit/e061583361d4d4167a86dccda385b2944946a09e --- zstd.c.orig 2024-11-05 21:49:34 UTC +++ zstd.c @@ -30,7 +30,11 @@ #include #include #include +#if PHP_VERSION_ID < 70200 #include +#else +#include "Zend/zend_smart_string.h" +#endif #if defined(HAVE_APCU_SUPPORT) #include #include