From 9a7c25abab65e2a501e05676b6e4e53f0e9ff026 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 21 Nov 2015 04:35:57 +0000 Subject: * ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid includeing ext/digest/extconf.h. [Bug #3231] https://msdn.microsoft.com/library/36k2cdd4.aspx * ext/digest/*/extconf.rb: remove ext/digest from include search path to avoid confusion of cl.exe. * ext/digest/*/*.[ch]: explicitly specify def.h's path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/md5/md5init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/digest/md5/md5init.c') diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c index bcd332d648..a6afedef69 100644 --- a/ext/digest/md5/md5init.c +++ b/ext/digest/md5/md5init.c @@ -1,7 +1,8 @@ /* $RoughId: md5init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */ /* $Id$ */ -#include "digest.h" +#include +#include "../digest.h" #if defined(MD5_USE_OPENSSL) #include "md5ossl.h" #elif defined(MD5_USE_COMMONDIGEST) -- cgit v1.2.3