--- dansguardian-2.12.0.3.orig/src/ImageContainer.cpp
+++ dansguardian-2.12.0.3/src/ImageContainer.cpp
@@ -16,6 +16,7 @@
 #include <stdexcept>
 #include <cerrno>
 #include <limits.h>
+#include <string.h>
 
 
 // GLOBALS
--- dansguardian-2.12.0.3.orig/src/SocketArray.cpp
+++ dansguardian-2.12.0.3/src/SocketArray.cpp
@@ -13,6 +13,7 @@
 #include "SocketArray.hpp"
 
 #include <syslog.h>
+#include <string.h>
 #include <cerrno>
 
 
--- dansguardian-2.12.0.3.orig/src/UDSocket.cpp
+++ dansguardian-2.12.0.3/src/UDSocket.cpp
@@ -21,6 +21,7 @@
 #include <unistd.h>
 #include <stdexcept>
 #include <stddef.h>
+#include <string.h>
 
 #ifdef DGDEBUG
 #include <iostream>
