[vlc-devel] [PATCH 2/3] OS/2: Include ctype.h in modules/demux/playlist/playlist.c

KO Myung-Hun komh78 at gmail.com
Fri Aug 24 15:39:58 CEST 2012


This fixes the following error.

-----
make.exe[1]: Entering directory `F:/lang/work/vlc/vlc.git/modules/demux/playlist'
  CC     libplaylist_plugin_la-playlist.lo
playlist.c: In function 'ProcessMRL':
playlist.c:207: error: implicit declaration of function 'isalpha'
make.exe[1]: *** [libplaylist_plugin_la-playlist.lo] Error 1
make.exe[1]: Leaving directory `F:/lang/work/vlc/vlc.git/modules/demux/playlist'
make.exe: *** [all] Error 2
-----
---
 modules/demux/playlist/playlist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c
index e0f70ce..6d548e3 100644
--- a/modules/demux/playlist/playlist.c
+++ b/modules/demux/playlist/playlist.c
@@ -32,7 +32,7 @@
 #include <vlc_plugin.h>
 #include <vlc_demux.h>
 #include <vlc_url.h>
-#ifdef WIN32
+#if defined( WIN32 ) || defined( __OS2__ )
 # include <ctype.h>
 #endif
 #include <assert.h>
-- 
1.7.3.2




More information about the vlc-devel mailing list