Index: b/src/bbmail.cpp
===================================================================
--- a/src/bbmail.cpp
+++ b/src/bbmail.cpp
@@ -29,6 +29,7 @@ extern "C" {
 #include <X11/cursorfont.h>
 #include <sys/stat.h>
 #include <math.h>
+#include <string.h>
 }
 
 #include "EWMH.hh"
Index: b/src/main.cpp
===================================================================
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,6 +22,7 @@
 #include "bbmail.h"
 #include "main.h"
 #include "config.h"
+#include "string.h"
 
 Configuration::Configuration(int iargc, char **iargv)
 {
Index: b/src/baseresource.cpp
===================================================================
--- a/src/baseresource.cpp
+++ b/src/baseresource.cpp
@@ -22,6 +22,7 @@
 #include <string>
 #include "baseresource.h"
 #include <stdio.h>
+#include <string.h>
 #include "Menu.hh"
 #include "Display.hh"
 
Index: b/src/resource.cpp
===================================================================
--- a/src/resource.cpp
+++ b/src/resource.cpp
@@ -22,6 +22,7 @@
 #include "bbmail.h"
 #include "resource.h"
 #include "blackboxstyle.h"
+#include <string.h>
 
 Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file):
 		BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file), 
