aboutsummaryrefslogtreecommitdiff
path: root/mail/xmailwatcher/files/patch-box.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/xmailwatcher/files/patch-box.c')
-rw-r--r--mail/xmailwatcher/files/patch-box.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/xmailwatcher/files/patch-box.c b/mail/xmailwatcher/files/patch-box.c
new file mode 100644
index 000000000000..dfb562ea01f3
--- /dev/null
+++ b/mail/xmailwatcher/files/patch-box.c
@@ -0,0 +1,20 @@
+--- box.c.orig Sat Feb 3 18:13:00 2001
++++ box.c Sat Feb 3 18:13:50 2001
+@@ -31,7 +31,7 @@
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+-#include <sys/dir.h>
++#include <dirent.h>
+ #include <X11/Xos.h>
+
+ /* MIME processing */
+@@ -235,7 +235,7 @@
+ int n, i, tally;
+ char oneFrom[160];
+ char *pos;
+- char filename[PATH_MAX];
++ char filename[FILENAME_MAX];
+
+ if (flags & BOX_DEBUG) (void) printf("MHparseMailbox(%s)\n", mailbox);
+