fix missing include config.h
[m6w6/ext-psi] / src / types / assert_stmt.c
index 690919111a66beb921d106e5b73c7d205988c5a6..ee9e50eab2acb2babe8ef4250e84278d946c58cf 100644 (file)
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/
 
-#include "php_psi_stdinc.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
 
 #include "data.h"
 #include "calc.h"
@@ -89,7 +93,6 @@ void psi_assert_stmt_throw(struct psi_assert_stmt *stmt)
 {
        struct psi_dump dump;
        smart_str str = {0};
-       zend_string *message;
 
        dump.ctx.hn = &str;
        dump.fun = (psi_dump_cb) smart_str_append_printf;