From f022bca16bcb3fa1f418deb112014598b6b84484 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 22 Mar 2008 16:33:33 +0000 Subject: [PATCH] - Fix build for PHP < 5.3 --- ext/phar/util.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.50.1