components/erlang/patches/erl_driver.h.patch
changeset 1119 8acf1591784d
equal deleted inserted replaced
1118:6359871f13db 1119:8acf1591784d
       
     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>