--- rtorrent-0.8.4.orig/src/command_events.cc	2008-11-11 11:37:20.000000000 +0100
+++ rtorrent-0.8.4/src/command_events.cc	2009-08-28 18:14:19.096303800 +0200
@@ -36,6 +36,7 @@
 
 #include "config.h"
 
+#include <cstdio>
 #include <functional>
 #include <rak/file_stat.h>
 #include <rak/path.h>
