* Added missing <sys/types.h> includes. Patch by Artifex Maximus.

* Changed torrent::Object to use placement new instead of a pointer to std::string/list/map.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1128 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-02-11 03:39:13 +00:00
parent 222bf7ae8f
commit 6796e9ad34
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -36,6 +36,8 @@
#include "config.h"
#include <sys/types.h>
#include "core/manager.h"
#include "core/download.h"
#include "core/download_list.h"
+2
View File
@@ -36,6 +36,8 @@
#include "config.h"
#include <sys/types.h>
#include <ctime>
#include <rak/functional.h>
#include <rak/functional_fun.h>
+1 -1
View File
@@ -175,7 +175,7 @@ download_factory_add_stream(torrent::Object* root, const char* key, const char*
if (!stream.good())
return false;
root->insert_key_swap(key, obj);
root->insert_key_move(key, obj);
return true;
}