vlc | branch: master | KO Myung-Hun <[email protected]> | Fri Feb  3 01:06:33 
2012 +0900| [248812582798e57d8da527095fe29d4b3df75ad4] | committer: Rémi 
Denis-Courmont

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]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=248812582798e57d8da527095fe29d4b3df75ad4
---

 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