changeset 33759:3e37890b6261

Include io.h for setmode().
author reimar
date Thu, 07 Jul 2011 17:37:58 +0000
parents fdf7cfbd2922
children 84b3eebfd796
files stream/stream_file.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_file.c	Thu Jul 07 15:47:07 2011 +0000
+++ b/stream/stream_file.c	Thu Jul 07 17:37:58 2011 +0000
@@ -23,6 +23,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#if HAVE_SETMODE
+#include <io.h>
+#endif
 
 #include "mp_msg.h"
 #include "stream.h"