From f18aae6042797dca2535158ca0a783202a9102a1 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Sun, 30 Nov 2014 17:47:17 +0000 Subject: Fix compilation for json_encoder --- ext/json/json_encoder.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/json/json_encoder.c') diff --git a/ext/json/json_encoder.c b/ext/json/json_encoder.c index d501a6619c..6976d906c0 100644 --- a/ext/json/json_encoder.c +++ b/ext/json/json_encoder.c @@ -30,6 +30,10 @@ #include "php_json.h" #include +ZEND_DECLARE_MODULE_GLOBALS(json) + +static const char digits[] = "0123456789abcdef"; + static void json_escape_string(smart_str *buf, char *s, size_t len, int options TSRMLS_DC); static int json_determine_array_type(zval *val TSRMLS_DC) /* {{{ */ -- cgit v1.2.1