diff -Naur libmoe-1.5.8.orig/altmalloc.c libmoe-1.5.8/altmalloc.c
--- libmoe-1.5.8.orig/altmalloc.c	2002-02-01 22:25:10.000000000 +0900
+++ libmoe-1.5.8/altmalloc.c	2008-11-19 08:44:34.000000000 +0900
@@ -1,3 +1,5 @@
+#include <string.h>
+
 #include "altmalloc.h"
 
 alt_allocater_t alt_malloc = malloc;
