Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants)

This commit is contained in:
Bob Weinand 2015-09-07 17:28:29 +02:00
parent 585d8642b5
commit 51272f4217
2 changed files with 9 additions and 0 deletions

4
NEWS
View File

@ -20,6 +20,10 @@ PHP NEWS
. Implemented FR #70438 (Add IV parameter for openssl_seal and openssl_open)
(Jakub Zelenka)
- Phpdbg:
. Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing
constants). (Bob)
- Streams:
. Fixed bug #70361 (HTTP stream wrapper doesn't close keep-alive connections).
(Niklas Keller)

View File

@ -21,6 +21,11 @@
#include "phpdbg.h"
/* Older versions of glibc <= 2.3.0 and <= OS X 10.5 do not have this constant defined */
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif
PHPDBG_API int phpdbg_consume_stdin_line(char *buf);
PHPDBG_API int phpdbg_consume_bytes(int sock, char *ptr, int len, int tmo);