diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-21 04:35:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-21 04:35:57 +0000 |
commit | 82b339513bb062dece23e8d975dac03829015f19 (patch) | |
tree | 431674ddc65dd823e7203f85c44737d4b263d925 /ext/digest/md5/md5init.c | |
parent | 4e6dfb9e1e9ca7b6dc632573977e42c0aa3777ce (diff) | |
download | ruby-82b339513bb062dece23e8d975dac03829015f19.tar.gz |
* 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
Diffstat (limited to 'ext/digest/md5/md5init.c')
-rw-r--r-- | ext/digest/md5/md5init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <ruby/ruby.h> +#include "../digest.h" #if defined(MD5_USE_OPENSSL) #include "md5ossl.h" #elif defined(MD5_USE_COMMONDIGEST) |