summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/md5/md5ossl.c2
-rw-r--r--ext/dl/ptr.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/digest/md5/md5ossl.c b/ext/digest/md5/md5ossl.c
index 3c9f4ba49f4..d930c7ab510 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)
diff --git a/ext/dl/ptr.c b/ext/dl/ptr.c
index a1e77ca103d..8c2799a2b2f 100644
--- a/ext/dl/ptr.c
+++ b/ext/dl/ptr.c
@@ -3,6 +3,7 @@
*/
#include <ruby.h>
+#include <ctype.h>
#include <version.h> /* for ruby version code */
#include "dl.h"