aboutsummaryrefslogtreecommitdiffstats
path: root/istream.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-02 13:12:20 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2012-05-02 13:12:20 +0000
commit282700e60c7e123233273813d316657deb9e4381 (patch)
tree2759302ac99632ec0c19e72403576dc07678a146 /istream.h
parentMerge branch 'bug/646321' (diff)
downloadw3m-282700e60c7e123233273813d316657deb9e4381.tar.gz
w3m-282700e60c7e123233273813d316657deb9e4381.zip
Fix that struct file_handle conflicts with glibc 2.14
Patch from Ubuntu to unbreak compilation with eglibc 2.14. (LP: #935540)
Diffstat (limited to 'istream.h')
-rw-r--r--istream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/istream.h b/istream.h
index a220d8b..e710e78 100644
--- a/istream.h
+++ b/istream.h
@@ -20,7 +20,7 @@ struct stream_buffer {
typedef struct stream_buffer *StreamBuffer;
-struct file_handle {
+struct io_file_handle {
FILE *f;
void (*close) ();
};
@@ -53,7 +53,7 @@ struct base_stream {
struct file_stream {
struct stream_buffer stream;
- struct file_handle *handle;
+ struct io_file_handle *handle;
char type;
char iseos;
int (*read) ();