[package] add clearsilver Config.in (#5166)
[openwrt/svn-archive/archive.git] / libs / libtorrent / patches / 100-fix-includes-for-gcc44.patch
1 diff -urN libtorrent-0.12.4.orig/src/protocol/extensions.cc libtorrent-0.12.4/src/protocol/extensions.cc
2 --- libtorrent-0.12.4.orig/src/protocol/extensions.cc 2009-05-01 11:21:41.646024324 +0000
3 +++ libtorrent-0.12.4/src/protocol/extensions.cc 2009-05-01 11:41:30.107790553 +0000
4 @@ -39,6 +39,8 @@
5 #include <limits>
6 #include <sstream>
7
8 +#include <cstdio>
9 +
10 #include "download/available_list.h"
11 #include "download/download_main.h"
12 #include "protocol/peer_connection_base.h"
13 diff -urN libtorrent-0.12.4.orig/src/torrent/poll_epoll.cc libtorrent-0.12.4/src/torrent/poll_epoll.cc
14 --- libtorrent-0.12.4.orig/src/torrent/poll_epoll.cc 2009-05-01 11:21:41.656024827 +0000
15 +++ libtorrent-0.12.4/src/torrent/poll_epoll.cc 2009-05-01 11:40:31.152785407 +0000
16 @@ -38,6 +38,7 @@
17
18 #include <cerrno>
19 #include <cstring>
20 +#include <cstdio>
21
22 #include <unistd.h>
23 #include <torrent/exceptions.h>
24 diff -urN libtorrent-0.12.4.orig/src/tracker/tracker_dht.cc libtorrent-0.12.4/src/tracker/tracker_dht.cc
25 --- libtorrent-0.12.4.orig/src/tracker/tracker_dht.cc 2009-05-01 11:21:41.658024592 +0000
26 +++ libtorrent-0.12.4/src/tracker/tracker_dht.cc 2009-05-01 11:41:43.124798870 +0000
27 @@ -37,6 +37,7 @@
28 #include "config.h"
29
30 #include <sstream>
31 +#include <cstdio>
32
33 #include "dht/dht_router.h"
34 #include "torrent/connection_manager.h"
35 diff -urN libtorrent-0.12.4.orig/src/tracker/tracker_udp.cc libtorrent-0.12.4/src/tracker/tracker_udp.cc
36 --- libtorrent-0.12.4.orig/src/tracker/tracker_udp.cc 2009-05-01 11:21:41.658024592 +0000
37 +++ libtorrent-0.12.4/src/tracker/tracker_udp.cc 2009-05-01 11:39:57.184784529 +0000
38 @@ -38,6 +38,7 @@
39
40 #include <sigc++/adaptors/bind.h>
41 #include <torrent/connection_manager.h>
42 +#include <cstdio>
43
44 #include "download/download_info.h"
45 #include "net/address_list.h"