From: Marcus Boerger Date: Sat, 22 Mar 2008 16:33:33 +0000 (+0000) Subject: - Fix build for PHP < 5.3 X-Git-Tag: RELEASE_2_0_0a1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f022bca16bcb3fa1f418deb112014598b6b84484;p=php - Fix build for PHP < 5.3 --- diff --git a/ext/phar/util.c b/ext/phar/util.c index 092134c2bc..b7841806df 100644 --- a/ext/phar/util.c +++ b/ext/phar/util.c @@ -21,6 +21,9 @@ /* $Id$ */ #include "phar_internal.h" +#if !defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50300 +extern php_stream_wrapper php_stream_phar_wrapper; +#endif /* retrieve a phar_entry_info's current file pointer for reading contents */ php_stream *phar_get_efp(phar_entry_info *entry TSRMLS_DC)