diff options
Diffstat (limited to 'sapi/phpdbg/phpdbg_io.h')
-rw-r--r-- | sapi/phpdbg/phpdbg_io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_io.h b/sapi/phpdbg/phpdbg_io.h index 3e25fc5eeb..fdd579d548 100644 --- a/sapi/phpdbg/phpdbg_io.h +++ b/sapi/phpdbg/phpdbg_io.h @@ -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); |