From: Daniel Berger Date: 2006-07-01T04:22:04+09:00 Subject: Solaris, OpenSSL - patch #1 - _FILE_OFFSET_BITS Hi, This is a simple patch for ossl.h where I just moved around the ruby.h include higher up in order to avoid the warnings about FILE_OFFSET_BITS on Solaris. I pretty much just followed what was done in ruby-core: 1011. Regards, Dan --- ossl.orig Fri Jun 30 12:52:58 2006 +++ ossl.h Fri Jun 30 12:53:24 2006 @@ -18,6 +18,16 @@ #endif /* + * OpenSSL has defined RFILE and Ruby has defined RFILE - so undef it! + */ +#if defined(RFILE) /*&& !defined(OSSL_DEBUG)*/ +# undef RFILE +#endif +#include +#include + + +/* * Check the OpenSSL version * The only supported are: * OpenSSL >= 0.9.7 @@ -60,15 +70,6 @@ #endif /* - * OpenSSL has defined RFILE and Ruby has defined RFILE - so undef it! - */ -#if defined(RFILE) /*&& !defined(OSSL_DEBUG)*/ -# undef RFILE -#endif -#include -#include - -/* * Common Module */ extern VALUE mOSSL; This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.