attempt to fix PHP-5
[m6w6/ext-json_post] / php_json_post.h
index 2895b70256978f6ce3d1fde52a8578e5a991776b..9623a449a83498bed2b14d5082ab903a683b8fc4 100644 (file)
@@ -41,6 +41,9 @@ ZEND_BEGIN_MODULE_GLOBALS(json_post)
                zend_bool warning;
                zend_bool exit;
        } onerror;
+#if PHP_VERSION_ID < 70000
+       zend_function *json_last_error;
+#endif
 ZEND_END_MODULE_GLOBALS(json_post)
 
 ZEND_EXTERN_MODULE_GLOBALS(json_post);