--- a/ed2k_hash/cl_ui.c
+++ b/ed2k_hash/cl_ui.c
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include <string.h>
 
 #include "global.h"
 
--- a/ed2k_hash/options.c
+++ b/ed2k_hash/options.c
@@ -16,6 +16,7 @@
  ***************************************************************************/
 
 #include <stdlib.h>
+#include <string.h>
 
 #include "global.h"
 
