From a9efcd8ace290244c6a235881e6cbe549b50c821 Mon Sep 17 00:00:00 2001
From: "J.H.M. Dassen" <jdassen@wi.leidenuniv.nl>
Date: Tue, 15 Dec 1998 00:32:21 +0100
Subject: [PATCH] Include string.h. (jdassen@wi.leidenuniv.nl)

Rev: src/symmetric/md5.c:1.3
Rev: src/symmetric/sha.c:1.3
---
 md5.c | 2 ++
 sha.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/md5.c b/md5.c
index 4b197285..095cee22 100644
--- a/md5.c
+++ b/md5.c
@@ -12,6 +12,8 @@
 #include "crypto_types.h"
 #include "md5.h"
 
+#include <string.h>
+
 void md5_copy(struct md5_ctx *dest, struct md5_ctx *src)
 {
   int i;
diff --git a/sha.c b/sha.c
index 081369ee..b400dd80 100644
--- a/sha.c
+++ b/sha.c
@@ -35,6 +35,8 @@ effort (for example the reengineering of a great many Capstone chips).
 /* #include "port.h" */
 #include "sha.h"
 
+#include <string.h>
+
 void sha_copy(struct sha_ctx *dest, struct sha_ctx *src)
 {
   int i;
-- 
GitLab