Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
committerStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
commite942db1c8d87b7db286545d72c604e879f7aeab0 (patch)
tree4b07ef3422ee265156e020707c3bc96ecd9ed1e0 /src/core/net.h
parentf39aec30f0e5c6f466681ed34bffd41150976ab9 (diff)
Cleanup of the messaging interface.
Diffstat (limited to 'src/core/net.h')
-rw-r--r--src/core/net.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/core/net.h b/src/core/net.h
index 4607797..2dbebfd 100644
--- a/src/core/net.h
+++ b/src/core/net.h
@@ -28,16 +28,26 @@ const float NETTIMEOUT = 15;
}
+#include <unistd.h>
+#include <errno.h>
+
#ifndef _WIN32
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/wait.h>
+
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <sys/select.h>
+
#else
+
#include <winsock2.h>
#include <windows.h>
-#endif
-#include "core/netserver.h"
-#include "core/netclient.h"
-#include "core/netconnection.h"
+#endif
#endif // __INCLUDED_CORE_NET_H__