summaryrefslogtreecommitdiffstats
path: root/ext/digest/md5
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-06 11:47:53 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-06 11:47:53 +0000
commit636e2f9bc8d1877db5f0e655bf518dcf7fd4cadc (patch)
tree4c4c85fad08f580d6e2b050d5c33fd94b01074ea /ext/digest/md5
parenta23261839359acbedc877de67edfde5aefc2ddf5 (diff)
downloadruby-636e2f9bc8d1877db5f0e655bf518dcf7fd4cadc.tar.gz
ruby-636e2f9bc8d1877db5f0e655bf518dcf7fd4cadc.tar.xz
ruby-636e2f9bc8d1877db5f0e655bf518dcf7fd4cadc.zip
* intern.h (rb_check_array_type): Declare rb_check_array_type().
* ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and string.h for memcmp(). * ext/dl/ptr.c: Include ctype.h for isdigit(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/md5')
-rw-r--r--ext/digest/md5/md5ossl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/digest/md5/md5ossl.c b/ext/digest/md5/md5ossl.c
index 3c9f4ba49..d930c7ab5 100644
--- a/ext/digest/md5/md5ossl.c
+++ b/ext/digest/md5/md5ossl.c
@@ -2,6 +2,8 @@
#include "md5ossl.h"
#include <sys/types.h>
+#include <stdio.h>
+#include <string.h>
void
MD5_End(MD5_CTX *pctx, unsigned char *hexdigest)