Sorry, I missed some directories. Here's a complete patch: --- cone/addressbook.C~ 2007-04-05 11:56:32.000000000 +0200 +++ cone/addressbook.C 2007-04-05 11:56:47.000000000 +0200 @@ -45,6 +45,7 @@ #include <list> #include <set> #include <map> +#include <algorithm> #include "addressbookinterfacemail.H" #include "addressbookinterfaceldap.H" --- cone/configscreen.C~ 2007-04-05 11:57:42.000000000 +0200 +++ cone/configscreen.C 2007-04-05 11:57:49.000000000 +0200 @@ -30,6 +30,7 @@ #include <sstream> #include <errno.h> +#include <algorithm> extern struct CustomColor color_misc_promptColor; extern struct CustomColor color_misc_inputField; --- cone/curseshierarchy.C~ 2007-04-05 12:01:47.000000000 +0200 +++ cone/curseshierarchy.C 2007-04-05 12:02:04.000000000 +0200 @@ -32,6 +32,7 @@ #include "acl.H" #include <errno.h> #include <set> +#include <algorithm> using namespace std; --- cone/hierarchy.C~ 2007-04-05 12:06:25.000000000 +0200 +++ cone/hierarchy.C 2007-04-05 12:06:46.000000000 +0200 @@ -16,6 +16,7 @@ #include "libmail/mail.H" #include <queue> +#include <algorithm> using namespace std; --- cone/init.C~ 2007-04-05 12:06:47.000000000 +0200 +++ cone/init.C 2007-04-05 12:06:53.000000000 +0200 @@ -28,6 +28,7 @@ #include "messagesize.H" #include <string> #include <iostream> +#include <climits> #include "init.H" #include "buildversion.H" --- cone/gpg.C~ 2007-04-05 12:06:58.000000000 +0200 +++ cone/gpg.C 2007-04-05 12:07:05.000000000 +0200 @@ -21,6 +21,7 @@ #include "wraptext.H" #include <vector> #include <set> +#include <algorithm> #include <errno.h> extern char ucheck[]; --- cone/nntpcommand.C~ 2007-04-05 12:07:46.000000000 +0200 +++ cone/nntpcommand.C 2007-04-05 12:07:55.000000000 +0200 @@ -11,6 +11,7 @@ #include "gettext.H" #include <errno.h> #include <stdio.h> +#include <cstdlib> #include <sys/types.h> #if HAVE_UNISTD_H --- cone/myfolder.C~ 2007-04-05 12:08:09.000000000 +0200 +++ cone/myfolder.C 2007-04-05 12:08:18.000000000 +0200 @@ -24,6 +24,7 @@ #include <errno.h> +#include <algorithm> #include <sstream> #include <fstream> #include <iomanip> --- cone/mymessage.C~ 2007-04-05 12:09:50.000000000 +0200 +++ cone/mymessage.C 2007-04-05 12:10:10.000000000 +0200 @@ -53,6 +53,7 @@ #include <iomanip> #include <fstream> #include <iostream> +#include <algorithm> using namespace std; --- libmail/imaplogin.C~ 2007-04-05 11:40:39.000000000 +0200 +++ libmail/imaplogin.C 2007-04-05 11:40:48.000000000 +0200 @@ -17,6 +17,7 @@ #include <errno.h> #include <stdio.h> +#include <algorithm> #include <iostream> #include <iomanip> #include <sstream> --- libmail/imap.C~ 2007-04-05 11:39:22.000000000 +0200 +++ libmail/imap.C 2007-04-05 11:39:31.000000000 +0200 @@ -21,6 +21,7 @@ #include <unicode/unicode.h> #include <sstream> #include <iomanip> +#include <algorithm> #include <stdlib.h> #include <string.h> #include <ctype.h> --- libmail/rfc2047encode.C~ 2007-04-05 11:46:35.000000000 +0200 +++ libmail/rfc2047encode.C 2007-04-05 11:50:16.000000000 +0200 @@ -9,6 +9,8 @@ #include "rfc822/rfc2047.h" #include "mail.H" +#include <cstdlib> + mail::rfc2047::encode::encode(std::string txt, std::string charset) { char *p=rfc2047_encode_str(txt.c_str(), charset.c_str(), --- libmail/mailtool.C~ 2007-04-05 11:48:27.000000000 +0200 +++ libmail/mailtool.C 2007-04-05 11:48:35.000000000 +0200 @@ -23,6 +23,7 @@ #include <iostream> #include <iomanip> +#include <algorithm> #include <stdlib.h> #include <stdio.h> #include <ctype.h> --- libmail/nntpxover.C~ 2007-04-05 11:50:00.000000000 +0200 +++ libmail/nntpxover.C 2007-04-05 11:50:07.000000000 +0200 @@ -9,6 +9,7 @@ #include "generic.H" #include "envelope.H" +#include <algorithm> #include <sstream> using namespace std;
-- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]