summaryrefslogtreecommitdiff
path: root/ext/yaz/php_yaz.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/yaz/php_yaz.h')
-rw-r--r--ext/yaz/php_yaz.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/yaz/php_yaz.h b/ext/yaz/php_yaz.h
index ccccace9b3..58570bb8fc 100644
--- a/ext/yaz/php_yaz.h
+++ b/ext/yaz/php_yaz.h
@@ -23,6 +23,10 @@
#if HAVE_YAZ
+#ifdef ZTS
+#include "TSRM.h"
+#endif
+
extern zend_module_entry yaz_module_entry;
#define yaz_module_ptr &yaz_module_entry