[vlc-devel] [PATCH] shm: fix compilation on OS/2

KO Myung-Hun komh78 at gmail.com
Fri Jan 11 14:57:08 CET 2013



Jean-Baptiste Kempf wrote:
> Le 01/01/2013 10:26, KO Myung-Hun a écrit :
>> ---
>>   modules/access/shm.c |    3 +++
>>   1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/modules/access/shm.c b/modules/access/shm.c
>> index c511de5..b2f014f 100644
>> --- a/modules/access/shm.c
>> +++ b/modules/access/shm.c
>> @@ -31,6 +31,9 @@
>>   # include <sys/ipc.h>
>>   # include <sys/shm.h>
>>   #endif
>> +#ifdef __OS2__
>> +# include <io.h>    // close()
>> +#endif
>>
>>   #include <vlc_common.h>
>>   #include <vlc_demux.h>
>>
> 
> Where is the call to close in the code?
> 

At CloseFile().

-- 
KO Myung-Hun

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

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




More information about the vlc-devel mailing list