[libdvdnav-devel] src/dvd_read.c: fix a compilation warning on OS/2

KO Myung-Hun git at videolan.org
Sat Apr 12 11:30:18 CEST 2014


libdvdread | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Apr 10 22:57:04 2014 +0900| [d65889e7ba84799c3155006a7be7ee6a218288fc] | committer: Jean-Baptiste Kempf

src/dvd_read.c: fix a compilation warning on OS/2

-----
src/dvd_reader.c: In function `DVDOpen':
src/dvd_reader.c:561: warning: implicit declaration of function `isalpha'
-----

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=d65889e7ba84799c3155006a7be7ee6a218288fc
---

 src/dvd_reader.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dvd_reader.c b/src/dvd_reader.c
index 170b911..00a3398 100644
--- a/src/dvd_reader.c
+++ b/src/dvd_reader.c
@@ -32,6 +32,7 @@
 #include <unistd.h>         /* chdir, getcwd */
 #include <limits.h>         /* PATH_MAX */
 #include <dirent.h>         /* opendir, readdir */
+#include <ctype.h>          /* isalpha */
 
 /* misc win32 helpers */
 #ifdef WIN32



More information about the libdvdnav-devel mailing list