[vlc-commits] Include sys/types.h for ssize_t on OS/2

KO Myung-Hun git at videolan.org
Sat Feb 4 15:25:48 CET 2012


vlc | branch: master | KO Myung-Hun <komh at chollian.net> | 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 <remi at remlab.net>

> 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:
  ****************************************************************************



More information about the vlc-commits mailing list