Commit 5520cd1f authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

access_output_file: fix compilation on OS/2

```--
  CC       access_output/file.lo
access_output/file.c: In function 'Open':
access_output/file.c:288:9: error: implicit declaration of function 'setmode' [-Werror=implicit-function-declaration]
         setmode (STDOUT_FILENO, O_BINARY);
         ^
cc1.exe: some warnings being treated as errors
make.exe[4]: *** [access_output/file.lo] Error 1
```

--
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0e1ed1b5
......@@ -37,6 +37,9 @@
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef __OS2__
# include <io.h> /* setmode() */
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment