summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/socket.h1
-rw-r--r--src/inspsocket.cpp10
2 files changed, 1 insertions, 10 deletions
diff --git a/include/socket.h b/include/socket.h
index b7b2b3d40..e62a2dc41 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -27,7 +27,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
-
#include "inspircd_config.h"
/* macros to the relevant system address description structs */
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 8177a3182..31605b9f0 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -14,20 +14,12 @@
* ---------------------------------------------------
*/
-#include "inspircd_config.h"
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
#include <string>
-#include <unistd.h>
-#include <fcntl.h>
-#include <poll.h>
#include <sstream>
#include <iostream>
#include <fstream>
#include <stdexcept>
+#include "inspircd_config.h"
#include "socket.h"
#include "inspircd.h"
#include "configreader.h"