aboutsummaryrefslogtreecommitdiffstats
path: root/main/dansguardian/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dansguardian/fix-includes.patch')
-rw-r--r--main/dansguardian/fix-includes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/dansguardian/fix-includes.patch b/main/dansguardian/fix-includes.patch
new file mode 100644
index 0000000000..5fdf6c0b7f
--- /dev/null
+++ b/main/dansguardian/fix-includes.patch
@@ -0,0 +1,30 @@
+--- 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>