diff options
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r-- | sapi/apache/mod_php4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 9f3d7444dd..f0cb048b7e 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -348,6 +348,7 @@ static char *php_apache_getenv(char *name, size_t name_len TSRMLS_DC) */ static int sapi_apache_get_fd(int *nfd TSRMLS_DC) { +#if PHP_APACHE_HAVE_CLIENT_FD request_rec *r = SG(server_context); int fd; @@ -357,6 +358,7 @@ static int sapi_apache_get_fd(int *nfd TSRMLS_DC) if (nfd) *nfd = fd; return SUCCESS; } +#endif return FAILURE; } /* }}} */ |