summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 10:43:36 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 10:43:36 +0000
commit1ee9d8f30aff9fc46a7d01d4f5ded03f3bf2167d (patch)
tree6d89582d839c069398c9cbefe2541e2b02e28bb7 /ext/digest
parentd5860a4eba99d605e709cebf8e0d545bc2e6a5ba (diff)
* ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,
ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid error in compilation with OpenSSL-0.9.8. [ruby-list:41068] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/md5/md5ossl.h1
-rw-r--r--ext/digest/rmd160/rmd160ossl.h1
-rw-r--r--ext/digest/sha1/sha1ossl.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/ext/digest/md5/md5ossl.h b/ext/digest/md5/md5ossl.h
index dda7c743ed..610f58db06 100644
--- a/ext/digest/md5/md5ossl.h
+++ b/ext/digest/md5/md5ossl.h
@@ -3,6 +3,7 @@
#ifndef MD5OSSL_H_INCLUDED
#define MD5OSSL_H_INCLUDED
+#include <stddef.h>
#include <openssl/md5.h>
void MD5_End(MD5_CTX *pctx, unsigned char *hexdigest);
diff --git a/ext/digest/rmd160/rmd160ossl.h b/ext/digest/rmd160/rmd160ossl.h
index 824a1bf32f..e8928d164b 100644
--- a/ext/digest/rmd160/rmd160ossl.h
+++ b/ext/digest/rmd160/rmd160ossl.h
@@ -3,6 +3,7 @@
#ifndef RMD160OSSL_H_INCLUDED
#define RMD160OSSL_H_INCLUDED
+#include <stddef.h>
#include <openssl/ripemd.h>
#define RMD160_CTX RIPEMD160_CTX
diff --git a/ext/digest/sha1/sha1ossl.h b/ext/digest/sha1/sha1ossl.h
index e8d7e74baf..c271cc47c6 100644
--- a/ext/digest/sha1/sha1ossl.h
+++ b/ext/digest/sha1/sha1ossl.h
@@ -3,6 +3,7 @@
#ifndef SHA1OSSL_H_INCLUDED
#define SHA1OSSL_H_INCLUDED
+#include <stddef.h>
#include <openssl/sha.h>
#define SHA1_CTX SHA_CTX