[vlc-devel] [PATCH 10/12] Include sys/types.h for ssize_t on OS/2

KO Myung-Hun komh78 at gmail.com
Fri Mar 2 15:58:00 CET 2012


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

Signed-off-by: KO Myung-Hun <komh at chollian.net>
---
 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:
  ****************************************************************************
-- 
1.7.3.2




More information about the vlc-devel mailing list