From de3ab556e525eac4e9e23c36947f7b0495e2c3f7 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Fri, 23 Feb 2007 16:33:26 +0000 Subject: [PATCH] * Added missing includes of required by newer gcc versions. Patch by falk@debian.org. * Swapped the use of PCB::m_up.interested() with PCB::m_down.interested(). This means that m_up.interested()/choked() says if the remote peer is interested and if upload to it is choked, while m_down.interested()/choked() says if local is interested and if download from the remote peer is choked. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@862 e378c898-3ddf-0310-93e7-cc216c733640 --- rak/regex.h | 1 + src/utils/lockfile.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/rak/regex.h b/rak/regex.h index 99d53a1e..877a52b3 100644 --- a/rak/regex.h +++ b/rak/regex.h @@ -43,6 +43,7 @@ #include +#include #include #include #include diff --git a/src/utils/lockfile.cc b/src/utils/lockfile.cc index 17a22f86..58597333 100644 --- a/src/utils/lockfile.cc +++ b/src/utils/lockfile.cc @@ -36,6 +36,7 @@ #include "config.h" +#include #include #include #include