summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socketengines/socketengine_select.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp
index 63e8b281b..6965ee771 100644
--- a/src/socketengines/socketengine_select.cpp
+++ b/src/socketengines/socketengine_select.cpp
@@ -15,21 +15,11 @@
#ifndef CONFIG_USE_IOCP
#include "inspircd.h"
-#ifndef WINDOWS
-#include <sys/select.h>
-#endif // WINDOWS
-
-#ifndef __SOCKETENGINE_SELECT__
-#define __SOCKETENGINE_SELECT__
+#include "socketengine.h"
-#include <vector>
-#include <string>
-#include <map>
#ifndef WINDOWS
#include <sys/select.h>
#endif // WINDOWS
-#include "inspircd.h"
-#include "socketengine.h"
/** A specialisation of the SocketEngine class, designed to use traditional select().
*/
@@ -49,10 +39,6 @@ public:
virtual std::string GetName();
};
-#endif
-
-
-
SelectEngine::SelectEngine()
{
MAX_DESCRIPTORS = FD_SETSIZE;
@@ -188,4 +174,4 @@ SocketEngine* CreateSocketEngine()
{
return new SelectEngine;
}
-#endif \ No newline at end of file
+#endif