summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-03 13:41:50 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-03 13:41:50 +0000
commit1da517be7454c34888026f2dd9f6b07d63953e25 (patch)
tree9c77f12aca6535e051981e57abfa3249bf05837b /ext
parentda87fc0e7389842e07a9ce74b27769ed870def9a (diff)
* ext/zlib/zlib.c: added a prototype to get rid of SEGV on x86_64
darwin. Reported by kosaki and nagachika. Patch by nagachika. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index c454d26e04..1195e6630f 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -2388,6 +2388,8 @@ gzfile_reader_rewind(struct gzfile *gz)
gzfile_reset(gz);
}
+extern VALUE rb_str_resurrect(VALUE str);
+
static VALUE
gzfile_reader_get_unused(struct gzfile *gz)
{