summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-09 11:51:24 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-09 11:51:24 +0000
commitaa21503f06e3a32945c003ce4193a766ea58642b (patch)
treed851081105140a045ca223e36797e8d6341a1303 /include/socket.h
parent77123f4dec9f29105f6c0ceea0262cfe8e9eaa1a (diff)
Shuffle some more includes around, const reference a few functions in inspircd.*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7
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 */