#include <arpa/inet.h>
#include <netdb.h>
#include <syslog.h>
+#include <sys/file.h>
#ifndef S_IFLNK
#define S_IFLNK 0120000
#define MAXPATHLEN 1024
#endif
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
+
struct file_struct {
unsigned flags;
time_t modtime;