diff --git a/lib/malloc.c b/lib/malloc.c
index 672bb3e..81d7717 100644
--- a/lib/malloc.c
+++ b/lib/malloc.c
@@ -21,6 +21,7 @@
 
 #include "types.h"
 #include "stddef.h"
+#include "string.h"
 
 /* Imported functions */
 extern void prom_printf (char *fmt, ...);
diff --git a/second/prom.c b/second/prom.c
index 74bbac6..e9c5843 100644
--- a/second/prom.c
+++ b/second/prom.c
@@ -33,6 +33,7 @@
 #include "asm/processor.h"
 #include "errors.h"
 #include "debug.h"
+#include "string.h"
 
 #define READ_BLOCKS_USE_READ	1
 
