summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 2456662401..827bd2553f 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -6,6 +6,8 @@
#ifdef ZTS
SAPI_API int sapi_globals_id;
+#else
+sapi_globals_struct sapi_globals;
#endif
/* A true global (no need for thread safety) */