Hi, NetWare compile of openssl-0.9.8-stable breaks in ssl/s2_meth.c with: outinc_nw_libc\openssl\dtls1.h:217: illegal use of incomplete struct/union/ outinc_nw_libc\openssl\dtls1.h:217: class 'struct timeval'
find below / attached the patch against openssl-0.9.8-stable-SNAP-20090601 which fixes this issue: --- ssl/dtls1.h.orig Fri May 29 15:04:04 2009 +++ ssl/dtls1.h Mon Jun 01 18:37:20 2009 @@ -65,6 +65,8 @@ #ifdef OPENSSL_SYS_WIN32 /* Needed for struct timeval */ #include <winsock.h> +#elif defined(OPENSSL_SYS_NETWARE) +#include <sys/timeval.h> #endif #ifdef __cplusplus
--- ssl/dtls1.h.orig Fri May 29 15:04:04 2009 +++ ssl/dtls1.h Mon Jun 01 18:37:20 2009 @@ -65,6 +65,8 @@ #ifdef OPENSSL_SYS_WIN32 /* Needed for struct timeval */ #include <winsock.h> +#elif defined(OPENSSL_SYS_NETWARE) +#include <sys/timeval.h> #endif #ifdef __cplusplus