summaryrefslogtreecommitdiff
path: root/mail/cone/patches/patch-libmail-mboxadd.C
blob: c2946cbe605ec15df434755f95a8a6273882f48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-libmail-mboxadd.C,v 1.1 2011/11/22 18:12:35 joerg Exp $

Use stdio functions to ensure that the mail::file cast to FILE * happens.

--- libmail/mboxadd.C.orig	2011-11-22 16:29:21.000000000 +0000
+++ libmail/mboxadd.C
@@ -16,6 +16,10 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
+#undef feof
+#undef ferror
+#undef getc
+
 using namespace std;
 
 mail::mbox::folder::add::add(mail::mbox &mboxArg, string pathArg,