[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 16:46:19 CEST 2012


Hi/2.

Måns Rullgård wrote:
> KO Myung-Hun <komh78 at gmail.com> writes:
> 
>> 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>
>> -- 
> 
> ctype.h is a standard header so keep things simple and include it
> unconditionally.
> 

Ok, include unconditionally.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.18 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-OS-2-Include-ctype.h-in-modules-demux-playlist-playl.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120824/d70d4201/attachment.ksh>


More information about the vlc-devel mailing list