From 7015d5deaa54035c27beb5ba5c25bd83a28294c7 Mon Sep 17 00:00:00 2001 From: Hugo Santos Date: Wed, 2 May 2007 10:57:27 +0000 Subject: [PATCH] couple fixes to make MDR addons build with gcc 4. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20965 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp | 2 ++ src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp index 7828de0119..f699b9889a 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp @@ -45,6 +45,8 @@ struct mailbox_info { BString server_mb_name; }; +class NoopWorker; + class IMAP4Client : public BRemoteMailStorageProtocol { public: IMAP4Client(BMessage *settings, BMailChainRunner *run); diff --git a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp index fb8c6f7557..2cabc26b47 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp @@ -51,6 +51,8 @@ # define D(x) ; #endif +using namespace std; + /* ** Function: md5_hmac ** taken from the file rfc2104.txt