summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2015-02-09 17:57:05 +0100
committerMichael Wallner <mike@php.net>2015-02-09 17:57:18 +0100
commit09a3e7377a30cad769b5c92254e101a32ab77731 (patch)
treea1b208f9c3190076588a719977eaf1302984ed1b /ext/json/php_json.h
parent9ff3800b79e9fe69ae821d18e23b2f0a156a100c (diff)
downloadphp-git-09a3e7377a30cad769b5c92254e101a32ab77731.tar.gz
fix json globals
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r--ext/json/php_json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/php_json.h b/ext/json/php_json.h
index 65ae830808..5bc2cfab0e 100644
--- a/ext/json/php_json.h
+++ b/ext/json/php_json.h
@@ -80,6 +80,7 @@ ZEND_BEGIN_MODULE_GLOBALS(json)
php_json_error_code error_code;
ZEND_END_MODULE_GLOBALS(json)
+ZEND_EXTERN_MODULE_GLOBALS(json);
#ifdef ZTS
# define JSON_G(v) ZEND_TSRMG(json_globals_id, zend_json_globals *, v)