From 6b332e6f7e6fc3c267a91ce5b5591684575ea271 Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Thu, 13 Oct 2016 00:55:35 +0200 Subject: [PATCH] fix issue #1380 - compiling with llvm/freebsd --- plugins/php/php_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/php_plugin.c b/plugins/php/php_plugin.c index 536ec1a..ef30180 100644 --- a/plugins/php/php_plugin.c +++ b/plugins/php/php_plugin.c @@ -232,7 +232,7 @@ static void sapi_uwsgi_register_variables(zval *track_vars_array TSRMLS_DC) size_t name_len = equal-usl->value; char *name = estrndup(usl->value, name_len); char *strval = equal+1; - zend_register_string_constant(name, name_len, strval, CONST_CS, 0); + zend_register_string_constant(name, name_len, strval, CONST_CS, 0 TSRMLS_CC); } usl = usl->next; }