vlc/vlc-2.0 | branch: master | KO Myung-Hun <[email protected]> | Fri Feb  3 
01:06:33 2012 +0900| [11804d91332d7de65f8ed02bbfd21ae3a9ed486c] | committer: 
Jean-Baptiste Kempf

Include sys/types.h for ssize_t on OS/2

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 <[email protected]>
(cherry picked from commit 248812582798e57d8da527095fe29d4b3df75ad4)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=11804d91332d7de65f8ed02bbfd21ae3a9ed486c
---

 include/vlc_block.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 13c52b2..3fed8a3 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -30,6 +30,8 @@
  *
  */
 
+#include <sys/types.h>  /* for ssize_t */
+
 /****************************************************************************
  * block:
  ****************************************************************************

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to