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:
committed by
George Peter Banyard
parent
01e5ffc85c
commit
928685eba2
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user