sapi/*: add missing includes

This commit is contained in:
Max Kellermann 2023-01-04 16:12:50 +01:00 committed by George Peter Banyard
parent aa1cd02a43
commit 6b34de8eba
5 changed files with 12 additions and 0 deletions

View file

@ -95,6 +95,8 @@ int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
# include "valgrind/callgrind.h"
#endif
#include <errno.h>
#ifndef PHP_WIN32
/* XXX this will need to change later when threaded fastcgi is implemented. shane */
struct sigaction act, old_term, old_quit, old_int;

View file

@ -92,6 +92,8 @@
# include "openssl/applink.c"
#endif
#include <errno.h>
PHPAPI extern char *php_ini_opened_path;
PHPAPI extern char *php_ini_scanned_path;
PHPAPI extern char *php_ini_scanned_files;

View file

@ -106,6 +106,9 @@
#include "php_cli_process_title.h"
#include "php_cli_process_title_arginfo.h"
#include <errno.h>
#include <string.h> // for strerror()
#define OUTPUT_NOT_CHECKED -1
#define OUTPUT_IS_TTY 1
#define OUTPUT_NOT_TTY 0

View file

@ -93,6 +93,9 @@ int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
#include "fpm_log.h"
#include "zlog.h"
#include <errno.h>
#include <string.h> // for strerror()
/* XXX this will need to change later when threaded fastcgi is implemented. shane */
struct sigaction act, old_term, old_quit, old_int;

View file

@ -20,6 +20,8 @@
#include "phpdbg_io.h"
#include <errno.h>
ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
/* is easy to generalize ... but not needed for now */