Fix that struct file_handle conflicts with glibc 2.14

Patch from Ubuntu to unbreak compilation with eglibc 2.14. (LP: #935540)
This commit is contained in:
Tatsuya Kinoshita
2012-05-02 22:12:20 +09:00
parent b53485bf0a
commit 282700e60c
2 changed files with 7 additions and 7 deletions

View File

@@ -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) ();