updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtorrent-old / libtorrent-gcc_fix.patch
blobba2ff6357d98b31f9ff796e28ced3265fb4cf643
1 diff -crB libtorrent/src/libtorrent-0.12.6/src/data/memory_chunk.h libtorrent-fixed/src/libtorrent-0.12.6/src/data/memory_chunk.h
2 *** libtorrent/src/libtorrent-0.12.6/src/data/memory_chunk.h 2009-11-12 03:03:54.000000000 -0500
3 --- libtorrent-fixed/src/libtorrent-0.12.6/src/data/memory_chunk.h 2011-06-30 11:30:51.000000000 -0400
4 ***************
5 *** 39,44 ****
6 --- 39,45 ----
8 #include <inttypes.h>
9 #include <sys/mman.h>
10 + #include <cstddef>
12 namespace torrent {
14 diff -crB libtorrent/src/libtorrent-0.12.6/src/torrent/common.h libtorrent-fixed/src/libtorrent-0.12.6/src/torrent/common.h
15 *** libtorrent/src/libtorrent-0.12.6/src/torrent/common.h 2009-11-12 03:03:58.000000000 -0500
16 --- libtorrent-fixed/src/libtorrent-0.12.6/src/torrent/common.h 2011-06-30 11:30:51.000000000 -0400
17 ***************
18 *** 38,43 ****
19 --- 38,44 ----
20 #define LIBTORRENT_COMMON_H
22 #include <inttypes.h>
23 + #include <cstddef>
25 struct sockaddr;