blob: ac60211cc62bfc18a69feb6bacbfce329e79d778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
diff -up portable/libtorrent/include/libtorrent/peer_id.hpp.fix Miro-1.1.2/portable/libtorrent/include/libtorrent/peer_id.hpp
--- portable/libtorrent/include/libtorrent/peer_id.hpp.gcc43 2008-02-15 03:45:47.000000000 -0700
+++ portable/libtorrent/include/libtorrent/peer_id.hpp 2008-02-15 03:46:00.000000000 -0700
@@ -37,7 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <iomanip>
#include <cctype>
#include <algorithm>
-#include <string>
+#include <cstring>
#include "libtorrent/config.hpp"
#include "libtorrent/assert.hpp"
diff -up portable/libtorrent/src/file.cpp.gcc43 Miro-1.1.2/portable/libtorrent/src/file.cpp
--- portable/libtorrent/src/file.cpp.gcc43 2008-02-15 04:12:42.000000000 -0700
+++ portable/libtorrent/src/file.cpp 2008-02-15 04:15:19.000000000 -0700
@@ -57,6 +57,7 @@ typedef int mode_t;
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
+#include <cstring>
#include <boost/static_assert.hpp>
// make sure the _FILE_OFFSET_BITS define worked
diff -up portable/libtorrent/src/entry.cpp.gcc43 Miro-1.1.2/portable/libtorrent/src/entry.cpp
--- portable/libtorrent/src/entry.cpp.gcc43 2008-02-07 21:30:04.000000000 -0500
+++ portable/libtorrent/src/entry.cpp 2008-03-02 20:32:44.000000000 -0500
@@ -32,6 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/pch.hpp"
+#include <iostream>
#include <algorithm>
#include <iomanip>
#include "libtorrent/entry.hpp"
@@ -287,11 +288,11 @@ namespace libtorrent
void entry::print(std::ostream& os, int indent) const
{
TORRENT_ASSERT(indent >= 0);
- for (int i = 0; i < indent; ++i) os << " ";
+ for (int i = 0; i < indent; ++i) os << entry(" ");
switch (m_type)
{
case int_t:
- os << integer() << "\n";
+ os << integer() << entry("\n");
break;
case string_t:
{
|