]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/comm/ModEpoll.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / comm / ModEpoll.cc
index 1216f87dd911fb4d1a3b051e971eb51d8ee7c39e..c0e7ea872568f79912b2785794f890311c134758 100644 (file)
 
 #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"
@@ -69,6 +70,9 @@
 #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;
@@ -77,11 +81,9 @@ static struct epoll_event *pevents;
 
 static void commEPollRegisterWithCacheManager(void);
 
-
 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
 /* Public functions */
 
-
 /*
  * This is a needed exported function which will be called to initialise
  * the network loop code.
@@ -212,7 +214,6 @@ Comm::ResetSelect(int fd)
     SetSelect(fd, 0, NULL, NULL, 0);
 }
 
-
 static void commIncomingStats(StoreEntry * sentry);
 
 static void