summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-06-17 21:16:29 +0000
committerNikita Popov <nikita.ppv@gmail.com>2020-06-19 17:21:55 +0200
commitbb61346580242a175c6f771b79f9722405970da1 (patch)
tree7aa232a56ecdd2ed1117cbdb669ae9e1ef8e4065 /sapi/phpdbg
parentca48129caefa15548fec9bd4779dd87bde75f453 (diff)
downloadphp-git-bb61346580242a175c6f771b79f9722405970da1.tar.gz
Fix Haiku build
getrusage supports only two fields. The network api sits in the network lib. Closes GH-5732.
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index ea0653fd25..f978c21ea3 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1683,6 +1683,9 @@ phpdbg_main:
}
#ifndef _WIN32
+# ifndef SIGIO
+# define SIGIO SIGPOLL
+# endif
zend_sigaction(SIGIO, &sigio_struct, NULL);
#endif