# HG changeset patch # User reimar # Date 1310060278 0 # Node ID 3e37890b62610f6bfcfcad0a6dc8222ecd317a1a # Parent fdf7cfbd2922cc322b6cc245abda8768f6d755e5 Include io.h for setmode(). diff -r fdf7cfbd2922 -r 3e37890b6261 stream/stream_file.c --- 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 #include #include +#if HAVE_SETMODE +#include +#endif #include "mp_msg.h" #include "stream.h"