]> git.sesse.net Git - vlc/commitdiff
Include sys/types.h for ssize_t on OS/2
authorKO Myung-Hun <komh@chollian.net>
Thu, 2 Feb 2012 16:06:33 +0000 (01:06 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 4 Feb 2012 14:25:32 +0000 (16:25 +0200)
This fixes the following error,

In file included from ../../../include/vlc_stream.h:27,
                 from ../../../include/vlc_demux.h:33,
                 from mkv.hpp:55,
                 from demux.hpp:28,
                 from virtual_segment.cpp:27:
../../../include/vlc_block.h:138: error: 'ssize_t' has not been declared

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc_block.h

index 13c52b2b4a92f7f1d1551add2cb4c13d80e276c9..3fed8a33eb5789690847013af2d8da9d2dea853f 100644 (file)
@@ -30,6 +30,8 @@
  *
  */
 
+#include <sys/types.h>  /* for ssize_t */
+
 /****************************************************************************
  * block:
  ****************************************************************************