[vlc-devel] [PATCH 1/3] Include 'unistd.h' for 'ssize_t' on OS/2

Rémi Denis-Courmont remi at remlab.net
Thu Feb 2 15:16:49 CET 2012


On Thu, 2 Feb 2012 15:01:34 +0100, Jean-Baptiste Kempf <jb at videolan.org>
wrote:
> On Thu, Feb 02, 2012 at 02:03:07PM +0900, KO Myung-Hun wrote :
>> +#include <unistd.h>     /* for ssize_t, vlc_block.h requires this */
> 
> Shouldn't vlc_block include it then?

<vlc_block.h> should include <sys/types.h>. There is no need for
<unistd.h>.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list