summary refs log tree commit diff
path: root/libio/iopopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iopopen.c')
-rw-r--r--libio/iopopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iopopen.c b/libio/iopopen.c
index 434008609f..59d4fc3f0e 100644
--- a/libio/iopopen.c
+++ b/libio/iopopen.c
@@ -68,6 +68,10 @@ extern int _IO_dup2 __P ((int fd, int fd2));
 #define _IO__exit _exit
 #endif
 
+#ifndef _IO_close
+#define _IO_close close
+#endif
+
 struct _IO_proc_file
 {
   struct _IO_FILE_plus file;