Lines 38-43
Link Here
|
38 |
#include <sys/stat.h> |
38 |
#include <sys/stat.h> |
39 |
#include <sys/types.h> |
39 |
#include <sys/types.h> |
40 |
#include <unistd.h> |
40 |
#include <unistd.h> |
|
|
41 |
#include <limits.h> |
41 |
|
42 |
|
42 |
#ifdef WITH_INOTIFY |
43 |
#ifdef WITH_INOTIFY |
43 |
# include <sys/inotify.h> |
44 |
# include <sys/inotify.h> |
Lines 55-60
Link Here
|
55 |
/* reasonable guess as to size of 1024 events */ |
56 |
/* reasonable guess as to size of 1024 events */ |
56 |
#define BUF_LEN (1024 * (EVENT_SIZE + 16)) |
57 |
#define BUF_LEN (1024 * (EVENT_SIZE + 16)) |
57 |
|
58 |
|
|
|
59 |
/* match gnu to posix */ |
60 |
#define MAXNAMLEN NAME_MAX |
61 |
|
58 |
static void overwrite_database(cron_db *, cron_db *); |
62 |
static void overwrite_database(cron_db *, cron_db *); |
59 |
|
63 |
|
60 |
static void process_crontab(const char *, const char *, |
64 |
static void process_crontab(const char *, const char *, |