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/sha1/sha1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/digest/sha1/sha1.h') diff --git a/ext/digest/sha1/sha1.h b/ext/digest/sha1/sha1.h index 6f1c388cf2..2accc46d46 100644 --- a/ext/digest/sha1/sha1.h +++ b/ext/digest/sha1/sha1.h @@ -11,7 +11,7 @@ #ifndef _SYS_SHA1_H_ #define _SYS_SHA1_H_ -#include "defs.h" +#include "../defs.h" typedef struct { uint32_t state[5]; -- cgit v1.2.3