summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/ftp_fopen_wrapper.c1
-rw-r--r--ext/standard/http_fopen_wrapper.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 2459d06173..2e9e2f6155 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -21,6 +21,7 @@
#include "php.h"
#include "php_main.h"
+#include "php_globals.h"
#include "php_ini.h"
#include "internal_functions_registry.h"
#include "php_standard.h"
@@ -736,6 +737,7 @@ PHP_MINIT_FUNCTION(basic)
PHP_MSHUTDOWN_FUNCTION(basic)
{
+ PLS_FETCH();
BLS_FETCH();
basic_globals_dtor(BLS_C);
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c
index f8f4f4413f..bdda60b67a 100644
--- a/ext/standard/ftp_fopen_wrapper.c
+++ b/ext/standard/ftp_fopen_wrapper.c
@@ -21,6 +21,7 @@
#include "php.h"
#include "php_globals.h"
+#include "php_network.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index e22866649c..400695f2f1 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -21,6 +21,7 @@
#include "php.h"
#include "php_globals.h"
+#include "php_network.h"
#include <stdio.h>
#include <stdlib.h>