about summary refs log tree commit diff
path: root/libio/strfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/strfile.h')
-rw-r--r--libio/strfile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/strfile.h b/libio/strfile.h
index 68dfcbfe83..b96fd0fb0a 100644
--- a/libio/strfile.h
+++ b/libio/strfile.h
@@ -25,8 +25,9 @@
    in files containing the exception.  */
 
 #include <stdio.h>
+#include "libioP.h"
 
-typedef void *(*_IO_alloc_type) (_IO_size_t);
+typedef void *(*_IO_alloc_type) (size_t);
 typedef void (*_IO_free_type) (void*);
 
 struct _IO_str_fields
@@ -42,7 +43,7 @@ struct _IO_str_fields
 
 struct _IO_streambuf
 {
-  struct _IO_FILE _f;
+  FILE _f;
   const struct _IO_jump_t *vtable;
 };