]> granicus.if.org Git - php/commitdiff
- Fix build for PHP < 5.3
authorMarcus Boerger <helly@php.net>
Sat, 22 Mar 2008 16:33:33 +0000 (16:33 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 22 Mar 2008 16:33:33 +0000 (16:33 +0000)
ext/phar/util.c

index 092134c2bc550789bf7c65c7748ad1b6dd52c129..b7841806df0b04af9e379488988d2c765f228cfc 100644 (file)
@@ -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)