[DVDnav-discuss] [PATCH 2/2] src/dvd_read.c: fix a compilation warning on OS/2

KO Myung-Hun komh78 at gmail.com
Thu Apr 10 15:57:04 CEST 2014


-----
src/dvd_reader.c: In function `DVDOpen':
src/dvd_reader.c:561: warning: implicit declaration of function `isalpha'
-----
---
 src/dvd_reader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
-- 
1.7.3.2



More information about the DVDnav-discuss mailing list