updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtorrent-extended / fix_gcc_4.6.0.patch
blobc47237a245ba1ba2c435f0cd2e5bf17c566b0a8e
1 diff --git a/src/data/memory_chunk.h b/src/data/memory_chunk.h
2 index 0635349..0a1456e 100644
3 --- a/src/data/memory_chunk.h
4 +++ b/src/data/memory_chunk.h
5 @@ -39,6 +39,7 @@
7 #include <inttypes.h>
8 #include <sys/mman.h>
9 +#include <cstddef>
11 namespace torrent {
13 diff --git a/src/torrent/common.h b/src/torrent/common.h
14 index 4ed250f..b7d7b7b 100644
15 --- a/src/torrent/common.h
16 +++ b/src/torrent/common.h
17 @@ -38,6 +38,7 @@
18 #define LIBTORRENT_COMMON_H
20 #include <inttypes.h>
21 +#include <cstddef>
23 struct sockaddr;