--- rtorrent-0.8.5.orig/src/command_events.cc	2009-05-14 14:34:42.000000000 +0200
+++ rtorrent-0.8.5/src/command_events.cc	2011-01-09 01:42:55.000000000 +0100
@@ -36,6 +36,7 @@
 
 #include "config.h"
 
+#include <cstdio>
 #include <functional>
 #include <cstdio>
 #include <rak/file_stat.h>