summaryrefslogtreecommitdiff
path: root/ext/zlib/php_zlib.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-11-21 00:40:13 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-11-21 00:40:13 +0000
commitcedb39ee560fde66b7c5fddeaba2aeed0deffcf5 (patch)
treedb8e584984967ed7ea1a878dfbed13b963b0f85b /ext/zlib/php_zlib.h
parentee23c5310860b42b0b028bdbc7ccc8d7c1b30ec0 (diff)
downloadphp-git-cedb39ee560fde66b7c5fddeaba2aeed0deffcf5.tar.gz
all the _GNU_SOURCE dependant stuff is now in zlib_fopen_wrapper.c
so all the #define/#include workarounds in zlib.c are no longer needed
Diffstat (limited to 'ext/zlib/php_zlib.h')
-rw-r--r--ext/zlib/php_zlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h
index b856fc9fd0..c977133bc5 100644
--- a/ext/zlib/php_zlib.h
+++ b/ext/zlib/php_zlib.h
@@ -61,6 +61,9 @@ PHP_FUNCTION(gzinflate);
PHP_FUNCTION(gzencode);
PHP_FUNCTION(ob_gzhandler);
+FILE *zlib_fopen_wrapper(char *path, char *mode, int options, int *issock, int *socketd, char **opened_path);
+
+
#ifdef ZTS
#define ZLIBLS_D php_zlib_globals *zlib_globals
#define ZLIBLS_DC , ZLIBLS_D