#if USE_EPOLL
-#include "squid-old.h"
#include "comm/Loops.h"
#include "fde.h"
+#include "globals.h"
#include "mgr/Registration.h"
+#include "profiler/Profiler.h"
#include "SquidTime.h"
#include "StatCounters.h"
#include "StatHist.h"
#if HAVE_SYS_EPOLL_H
#include <sys/epoll.h>
#endif
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
static int kdpfd;
static int max_poll_time = 1000;
static void commEPollRegisterWithCacheManager(void);
-
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
/* Public functions */
-
/*
* This is a needed exported function which will be called to initialise
* the network loop code.
SetSelect(fd, 0, NULL, NULL, 0);
}
-
static void commIncomingStats(StoreEntry * sentry);
static void