• KO Myung-Hun's avatar
    access_output_file: fix compilation on OS/2 · 5520cd1f
    KO Myung-Hun authored
    ```--
      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>
    5520cd1f
file.c 11.6 KB