projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add existing "From:" to Bcc-ed messages.
[mmh]
/
sbr
/
crawl_folders.c
diff --git
a/sbr/crawl_folders.c
b/sbr/crawl_folders.c
index
59ec952
..
47327ed
100644
(file)
--- a/
sbr/crawl_folders.c
+++ b/
sbr/crawl_folders.c
@@
-9,6
+9,8
@@
#include <h/mh.h>
#include <h/crawl_folders.h>
#include <h/utils.h>
#include <h/mh.h>
#include <h/crawl_folders.h>
#include <h/utils.h>
+#include <dirent.h>
+#include <sys/stat.h>
struct crawl_context {
int max; /*
struct crawl_context {
int max; /*
@@
-29,7
+31,7
@@
struct crawl_context {
static void
add_folder(char *fold, struct crawl_context *crawl)
{
static void
add_folder(char *fold, struct crawl_context *crawl)
{
- register int i, j;
+ int i, j;
/* if necessary, reallocate the space for folder names */
if (crawl->foldp >= crawl->max) {
/* if necessary, reallocate the space for folder names */
if (crawl->foldp >= crawl->max) {