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:
@@ -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) ();
|
||||
|
Reference in New Issue
Block a user