--- ./pan/general/log.cc~	2008-11-07 20:32:24.000000000 +0000
+++ ./pan/general/log.cc	2008-11-07 20:32:31.000000000 +0000
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <iostream>
 #include <cstdarg>
+#include <cstdio>
 #include "log.h"
 
 using namespace pan;
--- ./pan/general/progress.cc~	2008-11-07 20:33:09.000000000 +0000
+++ ./pan/general/progress.cc	2008-11-07 20:33:15.000000000 +0000
@@ -19,6 +19,7 @@
 
 #include <config.h>
 #include <cstdarg>
+#include <cstdio>
 #include "progress.h"
 #include "string-view.h"
 
--- ./pan/tasks/nntp.cc~	2008-11-07 20:36:27.000000000 +0000
+++ ./pan/tasks/nntp.cc		2008-11-07 20:36:32.000000000 +0000
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <cassert>
 #include <cstdarg>
+#include <cstdio>
 #include <cstdlib> // abort, atoi, strtoul
 extern "C" {
   #include <glib.h>
--- ./pan/tasks/nntp-pool.cc~	2008-11-07 20:37:30.000000000 +0000
+++ ./pan/tasks/nntp-pool.cc	2008-11-07 20:37:42.000000000 +0000
@@ -18,6 +18,7 @@
  */
 
 #include <config.h>
+#include <cstdio>
 #include <ctime>
 #include <glib/gi18n.h>
 #include <pan/general/debug.h>
--- ./pan/usenet-utils/numbers.cc~	2008-11-07 20:33:56.000000000 +0000
+++ ./pan/usenet-utils/numbers.cc	2008-11-07 20:34:02.000000000 +0000
@@ -19,6 +19,7 @@
 
 #include <config.h>
 #include <cctype>
+#include <cstdio>
 #include <pan/general/string-view.h>
 #include "numbers.h"
 #include <algorithm>
