components/erlang/patches/erl_driver.h.patch
branchs11u1-sru
changeset 3082 087fefd1546e
equal deleted inserted replaced
3081:92a8c4268104 3082:087fefd1546e
       
     1 Need to add in a "#include <sys/types.h>" for this erlang header file so
       
     2 that a definition for ssize_t is found, which in turn allows the ejabberd
       
     3 component to build successfully.
       
     4 
       
     5 --- otp_src_R15B03/erts/emulator/beam/erl_driver.h.orig	2012-12-28 09:47:16.253855115 -0800
       
     6 +++ otp_src_R15B03/erts/emulator/beam/erl_driver.h	2012-12-28 09:47:45.111231567 -0800
       
     7 @@ -86,6 +86,7 @@
       
     8  
       
     9  #include <stdlib.h>
       
    10  #include <string.h>		/* ssize_t on Mac OS X */
       
    11 +#include <sys/types.h>		/* ssize_t on Solaris */
       
    12  
       
    13  #if defined(VXWORKS)
       
    14  #  include <ioLib.h>