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

Jean-Baptiste Kempf jb at videolan.org
Mon Jan 7 11:24:30 CET 2013


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?

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list