aboutsummaryrefslogtreecommitdiff
path: root/mail/xmailwatcher/files/patch-box.c
blob: dfb562ea01f31c38995f9ec4a62d22645fbc19af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);