[vlc-commits] Include sys/types.h for ssize_t on OS/2
    KO Myung-Hun 
    git at videolan.org
       
    Fri Mar  2 16:37:26 CET 2012
    
    
  
vlc/vlc-2.0 | branch: master | KO Myung-Hun <komh at chollian.net> | 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 <remi at remlab.net>
(cherry picked from commit 248812582798e57d8da527095fe29d4b3df75ad4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> 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:
  ****************************************************************************
    
    
More information about the vlc-commits
mailing list