aboutsummaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index d83475379..1abad5282 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -28,6 +28,8 @@
#include <iostream>
+#include <rang/rang.hpp>
+
#ifndef _WIN32
# include <fcntl.h>
# include <sys/resource.h>
@@ -36,9 +38,6 @@
#include "inspircd.h"
#include "exitcodes.h"
-// Needs to be included after inspircd.h to avoid reincluding winsock.
-#include <rang/rang.hpp>
-
/** Reference table, contains all current handlers
**/
std::vector<EventHandler*> SocketEngine::ref;