summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php_output.h b/main/php_output.h
index c176063c3b..6da02a4c2c 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -151,6 +151,12 @@ ZEND_BEGIN_MODULE_GLOBALS(output)
int flags;
ZEND_END_MODULE_GLOBALS(output)
+#ifdef ZTS
+PHPAPI extern int output_globals_id;
+#else
+PHPAPI extern php_output_globals output_globals;
+#endif
+
/* there should not be a need to use OG() from outside of output.c */
#ifdef ZTS
# define OG(v) TSRMG(output_globals_id, zend_output_globals *, v)