summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
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 3fe3282190..63fcf74f85 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 */