From b8d7bc8bb7339ce5a3ab1fcb7f92c7a35bbc4f6c Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 27 Jul 2006 07:46:13 +0000 Subject: * ext/openssl/ossl.h: move inclusion point to shut up Solaris compiler. [ruby-core:08114] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/openssl/ossl.h | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index a355ca5d2..b450a193a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 27 16:41:15 2006 Yukihiro Matsumoto + + * ext/openssl/ossl.h: move inclusion point to shut up + Solaris compiler. [ruby-core:08114] + Wed Jul 26 22:20:59 2006 Yukihiro Matsumoto * configure.in: add support for as and ASFLAGS. [ruby-dev:29138] diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 73e7246c4..c0325229c 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -17,6 +17,15 @@ extern "C" { #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: @@ -59,15 +68,6 @@ extern "C" { # undef OpenFile #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 */ -- cgit