--- localsocketbase/localsocketbase.orig	2013-10-06 09:51:05 UTC
+++ localsocketbase/localsocketbase
@@ -5,6 +5,10 @@
 #include <string>
 #include <sys/socket.h>
 
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <cstring>
+#endif
+
 namespace FBB
 {
 
