1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend/zend_signal: include cleanup

This commit is contained in:
Max Kellermann
2023-01-04 14:59:41 +01:00
committed by George Peter Banyard
parent 01e5ffc85c
commit 928685eba2
2 changed files with 15 additions and 3 deletions

View File

@@ -28,11 +28,14 @@
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <string.h>
#include "zend.h"
#include "zend_globals.h"
#include "zend_signal.h"
#include "zend_alloc.h"
#include "zend.h" // for zend_output_debug_string(), zend_error(), ...
#include <errno.h>
#include <signal.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>

View File

@@ -21,9 +21,18 @@
#ifndef ZEND_SIGNAL_H
#define ZEND_SIGNAL_H
#ifdef PHP_WIN32
#include "config.w32.h"
#else
#include "php_config.h" // for ZEND_SIGNALS
#endif
#ifdef ZEND_SIGNALS
#include "zend_portability.h" // for BEGIN_EXTERN_C
#include <signal.h>
#include <stdbool.h>
#ifndef NSIG
#define NSIG 65