summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-06-20 16:32:24 +0300
committerDmitry Stogov <dmitry@zend.com>2016-06-20 16:32:24 +0300
commitc622cc4446951044dbef419e3ad59fc90eebd3a1 (patch)
tree7f0e723f360878ba759d7836d0e6f4fe7aa41d1e /sapi
parentad55348e6610bc9465b04cb8e4b57cdbefbe0ac2 (diff)
downloadphp-git-c622cc4446951044dbef419e3ad59fc90eebd3a1.tar.gz
Fixed phpdbg build without --enable-zend-signals
Diffstat (limited to 'sapi')
-rw-r--r--sapi/phpdbg/phpdbg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h
index c77bc1c530..2f95a80f04 100644
--- a/sapi/phpdbg/phpdbg.h
+++ b/sapi/phpdbg/phpdbg.h
@@ -47,6 +47,9 @@
#include "zend_stream.h"
#ifndef _WIN32
# include "zend_signal.h"
+# if !defined(ZEND_SIGNALS) && defined(HAVE_SIGNAL_H)
+# include <signal.h>
+# endif
#endif
#include "SAPI.h"
#include <fcntl.h>