diff options
author | Aurelien Desbrieres <aurelien@hackers.camp> | 2014-12-19 18:50:17 +0100 |
---|---|---|
committer | Aurelien Desbrieres <aurelien@hackers.camp> | 2014-12-19 18:50:17 +0100 |
commit | 13e56ca02d4250b037853953afca493eb7d40bb2 (patch) | |
tree | c704bffb090e3a57b2c6d84d0c6d91a1b0976b3b /pcr/libtorrent-extended/fix_gcc_4.6.0.patch | |
parent | 5a9d7f349389ea70e03d430b46186ddda98f68a8 (diff) | |
download | abslibre-13e56ca02d4250b037853953afca493eb7d40bb2.tar.gz abslibre-13e56ca02d4250b037853953afca493eb7d40bb2.tar.bz2 abslibre-13e56ca02d4250b037853953afca493eb7d40bb2.zip |
BitTorrent library written in C++ with eXtended patches.
Diffstat (limited to 'pcr/libtorrent-extended/fix_gcc_4.6.0.patch')
-rw-r--r-- | pcr/libtorrent-extended/fix_gcc_4.6.0.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/libtorrent-extended/fix_gcc_4.6.0.patch b/pcr/libtorrent-extended/fix_gcc_4.6.0.patch new file mode 100644 index 000000000..c47237a24 --- /dev/null +++ b/pcr/libtorrent-extended/fix_gcc_4.6.0.patch @@ -0,0 +1,24 @@ +diff --git a/src/data/memory_chunk.h b/src/data/memory_chunk.h +index 0635349..0a1456e 100644 +--- a/src/data/memory_chunk.h ++++ b/src/data/memory_chunk.h +@@ -39,6 +39,7 @@ + + #include <inttypes.h> + #include <sys/mman.h> ++#include <cstddef> + + namespace torrent { + +diff --git a/src/torrent/common.h b/src/torrent/common.h +index 4ed250f..b7d7b7b 100644 +--- a/src/torrent/common.h ++++ b/src/torrent/common.h +@@ -38,6 +38,7 @@ + #define LIBTORRENT_COMMON_H + + #include <inttypes.h> ++#include <cstddef> + + struct sockaddr; + |