We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e5ffc commit 928685eCopy full SHA for 928685e
Zend/zend_signal.c
@@ -28,11 +28,14 @@
28
#ifndef _GNU_SOURCE
29
# define _GNU_SOURCE
30
#endif
31
-#include <string.h>
32
33
-#include "zend.h"
34
-#include "zend_globals.h"
+#include "zend_signal.h"
+#include "zend_alloc.h"
+#include "zend.h" // for zend_output_debug_string(), zend_error(), ...
35
+
36
+#include <errno.h>
37
#include <signal.h>
38
+#include <string.h>
39
40
#ifdef HAVE_UNISTD_H
41
#include <unistd.h>
Zend/zend_signal.h
@@ -21,9 +21,18 @@
21
#ifndef ZEND_SIGNAL_H
22
#define ZEND_SIGNAL_H
23
24
+#ifdef PHP_WIN32
25
+#include "config.w32.h"
26
+#else
27
+#include "php_config.h" // for ZEND_SIGNALS
+#endif
#ifdef ZEND_SIGNALS
+#include "zend_portability.h" // for BEGIN_EXTERN_C
+#include <stdbool.h>
#ifndef NSIG
#define NSIG 65
0 commit comments