--- /dev/null
+diff -Nur dansguardian-2.10.1.1.org/src/contentscanners/clamav.cpp dansguardian-2.10.1.1/src/contentscanners/clamav.cpp
+--- dansguardian-2.10.1.1.org/src/contentscanners/clamav.cpp 2008-11-18 11:27:04.000000000 +0000
++++ dansguardian-2.10.1.1/src/contentscanners/clamav.cpp 2009-09-21 12:57:05.000000000 +0000
+@@ -31,6 +31,7 @@
+ #include <sys/types.h>
+ #include <sys/mman.h>
+ #include <unistd.h>
++#include <stdio.h>
+ #include <clamav.h>
+ #include <fcntl.h>
+
+diff -Nur dansguardian-2.10.1.1.org/src/contentscanners/commandlinescan.cpp dansguardian-2.10.1.1/src/contentscanners/commandlinescan.cpp
+--- dansguardian-2.10.1.1.org/src/contentscanners/commandlinescan.cpp 2008-11-18 11:27:04.000000000 +0000
++++ dansguardian-2.10.1.1/src/contentscanners/commandlinescan.cpp 2009-09-21 12:57:17.000000000 +0000
+@@ -34,6 +34,7 @@
+ #include <sys/stat.h>
+ #include <sys/wait.h>
+ #include <unistd.h>
++#include <stdio.h>
+ #include <list>
+
+
+diff -Nur dansguardian-2.10.1.1.org/src/contentscanners/icapscan.cpp dansguardian-2.10.1.1/src/contentscanners/icapscan.cpp
+--- dansguardian-2.10.1.1.org/src/contentscanners/icapscan.cpp 2008-11-18 11:27:04.000000000 +0000
++++ dansguardian-2.10.1.1/src/contentscanners/icapscan.cpp 2009-09-21 12:57:26.000000000 +0000
+@@ -35,6 +35,7 @@
+ //#include <sys/stat.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <stdio.h>
+ #include <netdb.h> // for gethostby
+
+
+diff -Nur dansguardian-2.10.1.1.org/src/downloadmanagers/fancy.cpp dansguardian-2.10.1.1/src/downloadmanagers/fancy.cpp
+--- dansguardian-2.10.1.1.org/src/downloadmanagers/fancy.cpp 2008-11-18 11:27:04.000000000 +0000
++++ dansguardian-2.10.1.1/src/downloadmanagers/fancy.cpp 2009-09-21 12:56:49.000000000 +0000
+@@ -30,6 +30,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <stdio.h>
+ #include <iostream>
+ #include <math.h>
+