From 3385395796127878887bce015431b830fed82c4e Mon Sep 17 00:00:00 2001 From: odaira Date: Wed, 21 Nov 2018 20:39:09 +0000 Subject: errno.h must be included after config.h because config.h might define _REENTRANT, _THREAD_SAFE, etc., which affect how errno is defined on some architectures * ext/openssl/ossl.h: include errno.h after ruby.h * include/ruby/io.h: include errno.h after ruby/config.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 5a15839cb4..39699bd5e6 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -13,8 +13,8 @@ #include RUBY_EXTCONF_H #include -#include #include +#include #include #include #include -- cgit v1.2.3