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

dvdnav: fix compilation on OS/2

```--
access/dvdnav.c: In function 'ProbeDVD':
access/dvdnav.c:1469:6: error: implicit declaration of function 'read' [-Werror=implicit-function-declaration]
      || read( fd, iso_dsc, sizeof (iso_dsc) ) < (int)sizeof (iso_dsc)
      ^
access/dvdnav.c:1481:5: error: implicit declaration of function 'close' [-Werror=implicit-function-declaration]
     close( fd );
     ^
```

--
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 4bcf8bd7ae0e00e9e1a55fce2e559a5dc465a29f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5f26e7d3
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> /* close() */
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.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