summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index e62a2dc41..60347506d 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -19,14 +19,18 @@
/* This is where we'll define wrappers for socket IO stuff, for neat winsock compatability */
+#include <arpa/inet.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/stat.h>
#include <netinet/in.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
+#include <errno.h>
+#include <netdb.h>
#include "inspircd_config.h"
/* macros to the relevant system address description structs */