$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- rtorrent-0.8.5.orig/src/utils/lockfile.cc	2009-05-14 14:34:42.000000000 +0200
+++ rtorrent-0.8.5/src/utils/lockfile.cc	2011-01-09 01:42:55.000000000 +0100
@@ -39,6 +39,7 @@
 #include <algorithm>
 #include <cctype>
 #include <cerrno>
+#include <cstdio>
 #include <cstring>
 #include <cstdio>
 #include <sstream>
