--- libtorrent-0.12.4.orig/src/tracker/tracker_udp.cc	2008-05-07 14:19:13.000000000 +0200
+++ libtorrent-0.12.4/src/tracker/tracker_udp.cc	2009-08-28 17:51:08.510691244 +0200
@@ -36,6 +36,8 @@
 
 #include "config.h"
 
+#include <cstdio>
+
 #include <sigc++/adaptors/bind.h>
 #include <torrent/connection_manager.h>
 
