summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-19 16:59:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-19 16:59:11 +0000
commit77a23fba355e5303da1182255bef800ee6acc468 (patch)
tree2db9083082e24f1742da09ce7899a7427f965ae9 /rubyio.h
parenta6610efee851bb8cd6dd2a312062c372abaef765 (diff)
* string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object() by String#gsub. [ruby-dev:24931] * lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise exception if data corresponding to session specified from the client does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rubyio.h b/rubyio.h
index 3ae67b2762..200232939f 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -16,6 +16,10 @@
#include <stdio.h>
#include <errno.h>
+#if defined(HAVE_STDIO_EXT_H)
+#include <stdio_ext.h>
+#endif
+
typedef struct OpenFile {
FILE *f; /* stdio ptr for read/write */
FILE *f2; /* additional ptr for rw pipes */