aboutsummaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-03 14:26:31 +0100
committerGravatar Sadie Powell2022-09-03 15:48:34 +0100
commit57184334322233774a77827eed49811f75f4954c (patch)
treeb54594b87df27e345df95c462191fa1ab4f72c36 /src/socketengine.cpp
parentMerge branch 'insp3' into master. (diff)
Clean up the Windows build process and remove some legacy code.
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;