Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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__