Merge from vendor branch TNF:
[pkgsrcv2.git] / mail / cone / patches / patch-libmail-mboxadd.C
1 $NetBSD$
2
3 Use stdio functions to ensure that the mail::file cast to FILE * happens.
4
5 --- libmail/mboxadd.C.orig      2011-11-22 16:29:21.000000000 +0000
6 +++ libmail/mboxadd.C
7 @@ -16,6 +16,10 @@
8  #include <sys/types.h>
9  #include <sys/stat.h>
10  
11 +#undef feof
12 +#undef ferror
13 +#undef getc
14 +
15  using namespace std;
16  
17  mail::mbox::folder::add::add(mail::mbox &mboxArg, string pathArg,